Principal.ExtensionSet(String, Object) Método

Definição

Define o valor de um atributo em uma classe estendida.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)

Parâmetros

attribute
String

O nome do atributo.The name of the attribute.

value
Object

O objeto que contém o valor do atributo.The object that contains the value of the attribute.

Atributos

Comentários

Consulte extensões de princípio de System. DirectoryServices. AccountManagement para obter um exemplo dessa função.See System.DirectoryServices.AccountManagement Principle Extensions for an example of this function.

Aplica-se a