ReplicationCursorCollection.IndexOf(ReplicationCursor) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このコレクション内の指定した ReplicationCursor オブジェクトの最初の出現位置のインデックスを返します。
public:
int IndexOf(System::DirectoryServices::ActiveDirectory::ReplicationCursor ^ cursor);
public int IndexOf(System.DirectoryServices.ActiveDirectory.ReplicationCursor cursor);
member this.IndexOf : System.DirectoryServices.ActiveDirectory.ReplicationCursor -> int
Public Function IndexOf (cursor As ReplicationCursor) As Integer
パラメーター
- cursor
- ReplicationCursor
このコレクション内で検索する ReplicationCursor オブジェクト。
返品
最初に一致するオブジェクトの 0 から始まるインデックス。 このコレクションのメンバーが ReplicationCursor オブジェクトと同じでない場合は、-1 を返します。
例外
基になるディレクトリ サービスを呼び出すと、エラーが発生しました。
cursor パラメーターはnull。