DirectoryAttributeCollection.Remove(DirectoryAttribute) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Metoden Remove(DirectoryAttribute) tar bort den första förekomsten av det angivna DirectoryAttribute objektet från samlingen.
public:
void Remove(System::DirectoryServices::Protocols::DirectoryAttribute ^ value);
public void Remove(System.DirectoryServices.Protocols.DirectoryAttribute value);
member this.Remove : System.DirectoryServices.Protocols.DirectoryAttribute -> unit
Public Sub Remove (value As DirectoryAttribute)
Parametrar
- value
- DirectoryAttribute
Objektet som DirectoryAttribute ska tas bort.
Kommentarer
undantag
| Exception | Condition |
|---|---|
| NotSupportedException | DirectoryAttributeCollection är skrivskyddad eller har en fast storlek. |