DirectoryAttributeCollection.Remove(DirectoryAttribute) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |