Modifier

Partager via


TrustRelationshipInformationCollection.Contains Method

Definition

Determines if the specified TrustRelationshipInformation object is contained in this collection.

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::TrustRelationshipInformation ^ information);
public bool Contains (System.DirectoryServices.ActiveDirectory.TrustRelationshipInformation information);
member this.Contains : System.DirectoryServices.ActiveDirectory.TrustRelationshipInformation -> bool
Public Function Contains (information As TrustRelationshipInformation) As Boolean

Parameters

information
TrustRelationshipInformation

The TrustRelationshipInformation object to search for in this collection.

Returns

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

Exceptions

information is null.

Applies to

See also