共用方式為


SearchResultEntryCollection.Contains(SearchResultEntry) 方法

定義

Contains(SearchResultEntry) 方法會判斷集合是否包含指定的 SearchResultEntry 物件。

public:
 bool Contains(System::DirectoryServices::Protocols::SearchResultEntry ^ value);
public bool Contains (System.DirectoryServices.Protocols.SearchResultEntry value);
member this.Contains : System.DirectoryServices.Protocols.SearchResultEntry -> bool
Public Function Contains (value As SearchResultEntry) As Boolean

參數

value
SearchResultEntry

要尋找的 SearchResultEntry

傳回

如果集合包含 value 則為 true,否則為 false

適用於