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
public bool Contains(
 object value
public: bool Contains(
 Object* value
public function Contains(
   value : Object
) : Boolean;


The property value to search for.

Return Value

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


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