SearchResultCollection.Contains Method (SearchResult)

 

Determines if a specified SearchResult object is in this collection.

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

public bool Contains(
	SearchResult result
)

Parameters

result
Type: System.DirectoryServices.SearchResult

The SearchResult object to find.

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
Show: