PrincipalValueCollection<T>.Contains(T) 方法

定义

如果指定的对象在集合中,则返回 true;否则返回 falseReturns true if the specified object is in the collection, and false otherwise.

public:
 virtual bool Contains(T value);
public bool Contains (T value);
abstract member Contains : 'T -> bool
override this.Contains : 'T -> bool
Public Function Contains (value As T) As Boolean

参数

value
T

一个对象。An object.

返回

返回 boolReturns a bool.

实现

适用于