DsmlRequestDocument.IList.IndexOf(Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回集合中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)。