TrustRelationshipInformationCollection.IndexOf Methode

Definitie

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

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

Parameters

information
TrustRelationshipInformation

Het TrustRelationshipInformation 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 TrustRelationshipInformation object.

Uitzonderingen

Een aanroep van de onderliggende adreslijstservice heeft tot een fout geleid.

information is null.

Van toepassing op

Zie ook