DirectoryControlCollection::Remove Method (DirectoryControl^)
.NET Framework (current version)
The Remove method removes the first occurrence of the specified DirectoryControl object from the collection.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
Parameters
- value
-
Type:
System.DirectoryServices.Protocols::DirectoryControl^
The DirectoryControl object to remove.
| Exception | Condition |
|---|---|
| NotSupportedException | DirectoryControlCollection is read-only, or DirectoryControlCollection has a fixed size. |
.NET Framework
Available since 2.0
Available since 2.0
Show: