Compartilhar via


CimOperationOptions.SetCustomOption Method

Definition

Overloads

SetCustomOption(String, Object, CimType, Boolean)
SetCustomOption(String, UInt64, Boolean)
SetCustomOption(String, UInt32, Boolean)
SetCustomOption(String, UInt16, Boolean)
SetCustomOption(String, String, Boolean)
SetCustomOption(String, Single, Boolean)
SetCustomOption(String, SByte, Boolean)
SetCustomOption(String, Double, Boolean)
SetCustomOption(String, Int32, Boolean)
SetCustomOption(String, Int16, Boolean)
SetCustomOption(String, Int64, Boolean)
SetCustomOption(String, Char, Boolean)
SetCustomOption(String, Byte, Boolean)
SetCustomOption(String, Boolean, Boolean)

SetCustomOption(String, Object, CimType, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::Object ^ optionValue, Microsoft::Management::Infrastructure::CimType cimType, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, Platform::Object ^ optionValue, Microsoft::Management::Infrastructure::CimType cimType, bool mustComply);
void SetCustomOption(std::wstring const & optionName, winrt::Windows::Foundation::IInspectable const & optionValue, Microsoft::Management::Infrastructure::CimType cimType, bool mustComply);
public void SetCustomOption (string optionName, object optionValue, Microsoft.Management.Infrastructure.CimType cimType, bool mustComply);
member this.SetCustomOption : string * obj * Microsoft.Management.Infrastructure.CimType * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Object, cimType As CimType, mustComply As Boolean)

Parameters

optionName
String
optionValue
Object
cimType
CimType
mustComply
Boolean

Applies to

SetCustomOption(String, UInt64, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::UInt64 optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, unsigned long long optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, unsigned long optionValue, bool mustComply);
public void SetCustomOption (string optionName, ulong optionValue, bool mustComply);
member this.SetCustomOption : string * uint64 * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As ULong, mustComply As Boolean)

Parameters

optionName
String
optionValue
UInt64
mustComply
Boolean

Applies to

SetCustomOption(String, UInt32, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::UInt32 optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, unsigned int optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, unsigned int optionValue, bool mustComply);
public void SetCustomOption (string optionName, uint optionValue, bool mustComply);
member this.SetCustomOption : string * uint32 * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As UInteger, mustComply As Boolean)

Parameters

optionName
String
optionValue
UInt32
mustComply
Boolean

Applies to

SetCustomOption(String, UInt16, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::UInt16 optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, unsigned short optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, unsigned short optionValue, bool mustComply);
public void SetCustomOption (string optionName, ushort optionValue, bool mustComply);
member this.SetCustomOption : string * uint16 * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As UShort, mustComply As Boolean)

Parameters

optionName
String
optionValue
UInt16
mustComply
Boolean

Applies to

SetCustomOption(String, String, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::String ^ optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, Platform::String ^ optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, std::wstring const & optionValue, bool mustComply);
public void SetCustomOption (string optionName, string optionValue, bool mustComply);
member this.SetCustomOption : string * string * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As String, mustComply As Boolean)

Parameters

optionName
String
optionValue
String
mustComply
Boolean

Applies to

SetCustomOption(String, Single, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, float optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, float optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, float optionValue, bool mustComply);
public void SetCustomOption (string optionName, float optionValue, bool mustComply);
member this.SetCustomOption : string * single * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Single, mustComply As Boolean)

Parameters

optionName
String
optionValue
Single
mustComply
Boolean

Applies to

SetCustomOption(String, SByte, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::SByte optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, SByte optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, SByte optionValue, bool mustComply);
public void SetCustomOption (string optionName, sbyte optionValue, bool mustComply);
member this.SetCustomOption : string * sbyte * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As SByte, mustComply As Boolean)

Parameters

optionName
String
optionValue
SByte
mustComply
Boolean

Applies to

SetCustomOption(String, Double, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, double optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, double optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, double optionValue, bool mustComply);
public void SetCustomOption (string optionName, double optionValue, bool mustComply);
member this.SetCustomOption : string * double * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Double, mustComply As Boolean)

Parameters

optionName
String
optionValue
Double
mustComply
Boolean

Applies to

SetCustomOption(String, Int32, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, int optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, int optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, int optionValue, bool mustComply);
public void SetCustomOption (string optionName, int optionValue, bool mustComply);
member this.SetCustomOption : string * int * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Integer, mustComply As Boolean)

Parameters

optionName
String
optionValue
Int32
mustComply
Boolean

Applies to

SetCustomOption(String, Int16, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, short optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, short optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, short optionValue, bool mustComply);
public void SetCustomOption (string optionName, short optionValue, bool mustComply);
member this.SetCustomOption : string * int16 * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Short, mustComply As Boolean)

Parameters

optionName
String
optionValue
Int16
mustComply
Boolean

Applies to

SetCustomOption(String, Int64, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, long optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, long long optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, long optionValue, bool mustComply);
public void SetCustomOption (string optionName, long optionValue, bool mustComply);
member this.SetCustomOption : string * int64 * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Long, mustComply As Boolean)

Parameters

optionName
String
optionValue
Int64
mustComply
Boolean

Applies to

SetCustomOption(String, Char, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, char optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, char16 optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, char optionValue, bool mustComply);
public void SetCustomOption (string optionName, char optionValue, bool mustComply);
member this.SetCustomOption : string * char * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Char, mustComply As Boolean)

Parameters

optionName
String
optionValue
Char
mustComply
Boolean

Applies to

SetCustomOption(String, Byte, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, System::Byte optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, byte optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, byte optionValue, bool mustComply);
public void SetCustomOption (string optionName, byte optionValue, bool mustComply);
member this.SetCustomOption : string * byte * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Byte, mustComply As Boolean)

Parameters

optionName
String
optionValue
Byte
mustComply
Boolean

Applies to

SetCustomOption(String, Boolean, Boolean)

public:
 void SetCustomOption(System::String ^ optionName, bool optionValue, bool mustComply);
public:
 void SetCustomOption(Platform::String ^ optionName, bool optionValue, bool mustComply);
void SetCustomOption(std::wstring const & optionName, bool optionValue, bool mustComply);
public void SetCustomOption (string optionName, bool optionValue, bool mustComply);
member this.SetCustomOption : string * bool * bool -> unit
Public Sub SetCustomOption (optionName As String, optionValue As Boolean, mustComply As Boolean)

Parameters

optionName
String
optionValue
Boolean
mustComply
Boolean

Applies to