ForestTrustRelationshipCollisionCollection.Contains 方法

定义

确定指定的 ForestTrustRelationshipCollision 对象是否在此集合中。

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

参数

collision
ForestTrustRelationshipCollision

要在此集合中搜索的 ForestTrustRelationshipCollision 对象。

返回

如果 ForestTrustRelationshipCollision 对象在此集合中,则为 true;否则为 false

例外

collisionnull

适用于

另请参阅