ApplicationPartitionCollection.Contains Method (ApplicationPartition)

 

Determines if the specified ApplicationPartition object is in this collection.

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

public bool Contains(
	ApplicationPartition applicationPartition
)

Parameters

applicationPartition
Type: System.DirectoryServices.ActiveDirectory.ApplicationPartition

The ApplicationPartition object to search for in this collection.

Return Value

Type: System.Boolean

true if the ApplicationPartition is in this collection, otherwise, false.

Exception Condition
ArgumentNullException

applicationPartition is null.

.NET Framework
Available since 2.0
Return to top
Show: