ManagementBaseObject.SetQualifierValue(String, Object) 方法

定义

设置指定的限定符的值。Sets the value of the named qualifier.

public:
 void SetQualifierValue(System::String ^ qualifierName, System::Object ^ qualifierValue);
public void SetQualifierValue (string qualifierName, object qualifierValue);
member this.SetQualifierValue : string * obj -> unit
Public Sub SetQualifierValue (qualifierName As String, qualifierValue As Object)

参数

qualifierName
String

要设置的限定符的名称。The name of the qualifier to set. 此参数不可以为 null。This parameter cannot be null.

qualifierValue
Object

要设置的值。The value to set.

注解

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息,请参阅从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于