Principal.ExtensionSet(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.