DirectoryAttributeCollection.Contains(DirectoryAttribute) 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(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.