Bewerken

Share via


Principal.ExtensionSet(String, Object) Method

Definition

Sets the value of an attribute in an extended class.

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)

Parameters

attribute
String

The name of the attribute.

value
Object

The object that contains the value of the attribute.

Attributes

Remarks

See System.DirectoryServices.AccountManagement Principal Extensions for an example of this function.

Applies to

See also