Principal.ExtensionSet(String, Object) 方法

定義

在擴充類別中設定屬性 (Attribute) 的值。

protected:
 void ExtensionSet(System::String ^ attribute, System::Object ^ value);
protected void ExtensionSet (string attribute, object value);
[System.Security.SecurityCritical]
protected void ExtensionSet (string attribute, object value);
member this.ExtensionSet : string * obj -> unit
[<System.Security.SecurityCritical>]
member this.ExtensionSet : string * obj -> unit
Protected Sub ExtensionSet (attribute As String, value As Object)

參數

attribute
String

屬性的名稱。

value
Object

包含屬性 (Attribute) 值的物件。

屬性

備註

如需此函式的範例,請參閱 System.DirectoryServices.AccountManagement 主體延伸模組

適用於

另請參閱