Language

ForestTrustDomainInfoCollection.IndexOf(ForestTrustDomainInformation) メソッド

定義

このコレクション内の指定した ForestTrustDomainInformation オブジェクトの最初の出現位置のインデックスを返します。

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

パラメーター

information
ForestTrustDomainInformation

このコレクション内で検索する ForestTrustDomainInformation オブジェクト。

戻り値

最初に一致するオブジェクトの 0 から始まるインデックス。 このコレクションのメンバーが ForestTrustDomainInformation オブジェクトと同じでない場合は、-1 を返します。

例外

information は nullです。

適用対象

関連項目