Principal.ExtensionSet(String, Object) 方法

定义

设置扩展类中特性的值。

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

包含该特性值的对象。

属性

注解

有关此函数的示例,请参阅 System.DirectoryServices.AccountManagement 主体扩展

适用于

另请参阅