DirectoryAttributeCollection.Contains(DirectoryAttribute) Method

Definition

The Contains(DirectoryAttribute) method determines whether this DirectoryAttributeCollection object contains a specified DirectoryAttribute object.

public:
 bool Contains(System::DirectoryServices::Protocols::DirectoryAttribute ^ value);
public bool Contains (System.DirectoryServices.Protocols.DirectoryAttribute value);
member this.Contains : System.DirectoryServices.Protocols.DirectoryAttribute -> bool
Public Function Contains (value As DirectoryAttribute) As Boolean

Parameters

value
DirectoryAttribute

The DirectoryAttribute object for which to search.

Returns

true if the specified DirectoryAttribute is part of the collection; false otherwise.

Applies to