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。

實作

例外狀況

valuenull 參考 (在 Visual Basic 中為 Nothing)。

適用於