DirectoryControlCollection::Contains Method (DirectoryControl^)

 

The Contains method determines whether this DirectoryControlCollection object contains a specified DirectoryControl object.

Namespace:   System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

public:
bool Contains(
	DirectoryControl^ value
)

Parameters

value
Type: System.DirectoryServices.Protocols::DirectoryControl^

The DirectoryControl object for which to search.

Return Value

Type: System::Boolean

true if the specified DirectoryControl object is part of the collection; false, otherwise.

.NET Framework
Available since 2.0
Return to top
Show: