ResultPropertyCollection.Contains Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether the property that has the specified name belongs to this collection.

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

public bool Contains(
	string propertyName


Type: System.String

The name of the property to find.

Return Value

Type: System.Boolean

The return value is true if the specified property belongs to this collection; otherwise, false.

.NET Framework
Available since 1.1
Return to top