Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SearchResultAttributeCollection::Contains Method (String^)

 

The Contains method determines whether the collection contains the specified attributeName.

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

public:
bool Contains(
	String^ attributeName
)

Parameters

attributeName
Type: System::String^

The name of the attribute to locate.

Return Value

Type: System::Boolean

true if the collection contains attributeName or false if it does not.

Exception Condition
ArgumentNullException

attributeName is a null reference (Nothing in Visual Basic).

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft