This documentation is archived and is not being maintained.

PropertyValueCollection.Contains Method

Determines whether a specified property value is in this collection.

[Visual Basic]
Public Function Contains( _
   ByVal value As Object _
) As Boolean
[C#]
public bool Contains(
 object value
);
[C++]
public: bool Contains(
 Object* value
);
[JScript]
public function Contains(
   value : Object
) : Boolean;

Parameters

value
The property value to search for.

Return Value

true if the property value is in the collection; otherwise, false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

PropertyValueCollection Class | PropertyValueCollection Members | System.DirectoryServices Namespace

Show: