語言

DsmlRequestDocument.IList.IndexOf(Object) 方法

定義

回傳集合中DirectoryRequest指定物件首次出現DsmlRequestDocument的零為基礎索引。

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf(object value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

參數

value
Object

回 DirectoryRequest 傳索引的物件。

傳回

若找到指定 DirectoryRequest 物件的索引值;否則為 -1。

實作

例外狀況

value 是 null 參考(Nothing 在Visual Basic中)。

適用於