共用方式為


PrincipalValueCollection<T>.Contains(T) 方法

定義

如果指定的物件在集合中則傳回 true,否則傳回 false

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

物件。

傳回

傳回 bool

實作

適用於