IVsaEngine.GetOption 方法

获取脚本引擎特定于实现的选项。

命名空间:  Microsoft.Vsa
程序集:  Microsoft.Vsa(在 Microsoft.Vsa.dll 中)

语法

声明
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function GetOption ( _
    name As String _
) As Object
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
Object GetOption(
    string name
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
Object^ GetOption(
    String^ name
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract GetOption : 
        name:string -> Object
function GetOption(
    name : String
) : Object

参数

  • name
    类型:String

    要获取的选项的名称。

返回值

类型:Object
返回选项的值。

请参阅

参考

IVsaEngine 接口

Microsoft.Vsa 命名空间