PartialResultsCollection.Contains(Object) 方法

定义

Contains(Object)方法确定此 PartialResultsCollection对象是否包含指定的 ObjectThe Contains(Object) method determines whether this PartialResultsCollection object contains a specified Object.

public:
 bool Contains(System::Object ^ value);
public bool Contains (object value);
member this.Contains : obj -> bool
Public Function Contains (value As Object) As Boolean

参数

value
Object

要搜索的 ObjectThe Object for which to search.

返回

Boolean

如果指定的 Object 属于该集合,则为 true;否则为 falsetrue if the specified Object is part of the collection or false if it is not.

适用于