Principal.ExtensionSet Method (String, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Sets the value of an attribute in an extended class.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

[SecurityCriticalAttribute]
protected void ExtensionSet(
	string attribute,
	object value
)

Parameters

attribute
Type: System.String

The name of the attribute.

value
Type: System.Object

The object that contains the value of the attribute.

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

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
Principal Class
System.DirectoryServices.AccountManagement Namespace Overview
System.DirectoryServices.AccountManagement Principle Extensions

Return to top
Show: