SearchResultAttributeCollection::Contains Method (String^)
.NET Framework (current version)
The Contains method determines whether the collection contains the specified attributeName.
Assembly: System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)
Parameters
- attributeName
-
Type:
System::String^
The name of the attribute to locate.
Return Value
Type: System::Booleantrue 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
Available since 2.0
Show: