DirectoryControlCollection.Contains(DirectoryControl) 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 Contains(DirectoryControl) method determines whether this DirectoryControlCollection object contains a specified DirectoryControl object.
public:
bool Contains(System::DirectoryServices::Protocols::DirectoryControl ^ value);
public bool Contains (System.DirectoryServices.Protocols.DirectoryControl value);
member this.Contains : System.DirectoryServices.Protocols.DirectoryControl -> bool
Public Function Contains (value As DirectoryControl) As Boolean
Parameters
- value
- DirectoryControl
The DirectoryControl object for which to search.
Returns
true
if the specified DirectoryControl object is part of the collection; false
, otherwise.