IVsaItem.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
返回指定选项的值。

请参阅

参考

IVsaItem 接口

Microsoft.Vsa 命名空间