SearchResultCollection.Contains(SearchResult) 方法

定义

确定指定的 SearchResult 对象是否在此集合中。

public:
 bool Contains(System::DirectoryServices::SearchResult ^ result);
public bool Contains (System.DirectoryServices.SearchResult result);
member this.Contains : System.DirectoryServices.SearchResult -> bool
Public Function Contains (result As SearchResult) As Boolean

参数

result
SearchResult

要查找的 SearchResult 对象。

返回

如果指定的属性属于该集合,则为 true;否则为 false

适用于