ForestTrustDomainInfoCollection.IndexOf(ForestTrustDomainInformation) Methode

Definitie

Retourneert de index van het eerste exemplaar van het opgegeven ForestTrustDomainInformation object in deze verzameling.

public:
 int IndexOf(System::DirectoryServices::ActiveDirectory::ForestTrustDomainInformation ^ information);
public int IndexOf(System.DirectoryServices.ActiveDirectory.ForestTrustDomainInformation information);
member this.IndexOf : System.DirectoryServices.ActiveDirectory.ForestTrustDomainInformation -> int
Public Function IndexOf (information As ForestTrustDomainInformation) As Integer

Parameters

information
ForestTrustDomainInformation

Het ForestTrustDomainInformation object waarnaar moet worden gezocht in deze verzameling.

Retouren

De op nul gebaseerde index van het eerste overeenkomende object. Retourneert -1 als geen lid van deze verzameling identiek is aan het ForestTrustDomainInformation object.

Uitzonderingen

information is null.

Van toepassing op

Zie ook