Edit

Share via


DirectoryControlCollection.Contains(DirectoryControl) Method

Definition

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.

Applies to