Contains Method

PropertyValueCollection.Contains Method (Object)


Determines whether the specified PropertyValueCollection object is in this collection.

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

public bool Contains(
	object value


Type: System.Object

The PropertyValueCollection object to search for in this collection.

Return Value

Type: System.Boolean

true if the specified property belongs to this collection; otherwise, false.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft