ForestTrustDomainInfoCollection.IndexOf(ForestTrustDomainInformation) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.