IVsaItem.SetOption Method
Sets implementation-specific options for a script engine.
Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Syntax
'إقرار
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub SetOption ( _
name As String, _
value As Object _
)
'الاستخدام
Dim instance As IVsaItem
Dim name As String
Dim value As Object
instance.SetOption(name, value)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
void SetOption(
string name,
Object value
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
void SetOption(
String^ name,
Object^ value
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract SetOption :
name:string *
value:Object -> unit
function SetOption(
name : String,
value : Object
)
Parameters
- name
Type: System.String
The name of the option to set.
- value
Type: System.Object
A new value for the option.