ForestTrustRelationshipCollisionCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the specified ForestTrustRelationshipCollision object is in this collection.
public:
bool Contains(System::DirectoryServices::ActiveDirectory::ForestTrustRelationshipCollision ^ collision);
public bool Contains (System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipCollision collision);
member this.Contains : System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipCollision -> bool
Public Function Contains (collision As ForestTrustRelationshipCollision) As Boolean
Parameters
- collision
- ForestTrustRelationshipCollision
The ForestTrustRelationshipCollision object to search for in this collection.
Returns
true
if the ForestTrustRelationshipCollision object is in the collection; otherwise, false
.
Exceptions
collision
is null
.