ForestTrustRelationshipCollisionCollection.Contains Method (ForestTrustRelationshipCollision)

 

Determines if the specified ForestTrustRelationshipCollision object is in this collection.

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

public bool Contains(
	ForestTrustRelationshipCollision collision
)

Parameters

collision
Type: System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipCollision

The ForestTrustRelationshipCollision object to search for in this collection.

Return Value

Type: System.Boolean

true if the ForestTrustRelationshipCollision object is in the collection; otherwise, false.

Exception Condition
ArgumentNullException

collision is null.

.NET Framework
Available since 2.0
Return to top
Show: