DirectoryAttributeCollection.Contains Method (DirectoryAttribute)

 

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

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

public bool Contains(
	DirectoryAttribute value
)

Parameters

value
Type: System.DirectoryServices.Protocols.DirectoryAttribute

The DirectoryAttribute object for which to search.

Return Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: