DsmlRequestDocument.IList.Contains(Object) 方法

定義

指出此 DsmlRequestDocument 集合是否含有指定的 DirectoryRequest 物件。Indicates whether this DsmlRequestDocument collection contains the specified DirectoryRequest object.

 virtual bool System.Collections.IList.Contains(System::Object ^ value) = System::Collections::IList::Contains;
bool IList.Contains (object value);
Function Contains (value As Object) As Boolean Implements IList.Contains

參數

value
Object

要搜尋的 DirectoryRequest 物件。The DirectoryRequest object for which to search.

傳回

如果指定的 DirectoryRequest 物件是集合的一部分,則為 true,否則為 falsetrue if the specified DirectoryRequest object is part of the collection; false, otherwise.

實作

適用於