DirectoryControlCollection.IndexOf(DirectoryControl) メソッド

定義

IndexOf(DirectoryControl) メソッドは、DirectoryControlCollectionで指定したDirectoryControl オブジェクトの最初の出現位置の 0 から始まるインデックスを返します。

public:
 int IndexOf(System::DirectoryServices::Protocols::DirectoryControl ^ value);
public int IndexOf(System.DirectoryServices.Protocols.DirectoryControl value);
member this.IndexOf : System.DirectoryServices.Protocols.DirectoryControl -> int
Public Function IndexOf (value As DirectoryControl) As Integer

パラメーター

value
DirectoryControl

インデックスが返される DirectoryControl オブジェクト。

返品

指定した DirectoryControl オブジェクトのインデックス値 (見つかった場合)。それ以外の場合は -1。

適用対象