Principal.ExtensionSet(String, Object) Metoda
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Ustawia wartość atrybutu w klasie rozszerzonej.
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)
Parametry
- attribute
- String
Nazwa atrybutu.
- value
- Object
Obiekt zawierający wartość atrybutu.
- Atrybuty
Uwagi
Zobacz System.DirectoryServices.AccountManagement Principal Extensions (Rozszerzenia podmiotu zabezpieczeń System.DirectoryServices.AccountManagement Principal Extensions ), aby zapoznać się z przykładem tej funkcji.