Partager via


IWSManResourceLocator.AddOption(String, Object, Int32) Method

Definition

AddOption method of IWSManResourceLocator interface.

Add option to resource locator

[System.Runtime.InteropServices.DispId(6)]
public void AddOption (string OptionName, object OptionValue, int mustComply);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member AddOption : string * obj * int -> unit
Public Sub AddOption (OptionName As String, OptionValue As Object, mustComply As Integer)

Parameters

OptionName
String
OptionValue
Object
mustComply
Int32
Attributes

Remarks

An original IDL definition of AddOption method was the following: HRESULT AddOption (BSTR OptionName, VARIANT OptionValue, [optional, defaultvalue(0)] long mustComply);

Applies to