语言

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 引用(Visual Basic 中的 Nothing)。

适用于