DirectoryAttributeCollection.Remove(DirectoryAttribute) Method

Definition

The Remove(DirectoryAttribute) method removes the first occurrence of the specified DirectoryAttribute object from the collection.

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)

Parameters

value
DirectoryAttribute

The DirectoryAttribute object to remove.

Remarks

Exceptions

Exception Condition
NotSupportedException DirectoryAttributeCollection is read-only or has a fixed size.

Applies to