ForestTrustDomainInfoCollection.IndexOf(ForestTrustDomainInformation) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した 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 です。