Rediger

Del via


ForestTrustDomainInfoCollection.Contains(ForestTrustDomainInformation) Method

Definition

Determines if the specified ForestTrustDomainInformation object is in this collection.

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

Parameters

information
ForestTrustDomainInformation

The ForestTrustDomainInformation object to search for in this collection.

Returns

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

Exceptions

information is null.

Applies to

See also