DoubleCollection.Contains(Double) 方法

定義

判斷 Double 是否在這個 DoubleCollection 中。Determines whether a Double is in this DoubleCollection.

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

參數

value
Double

要在這個集合中尋找的項目。The item to locate in this collection.

傳回

如果 value 也就是指定的 Double 在這個 DoubleCollection 中則為 true,否則為 falsetrue if value, the specified Double, is in this DoubleCollection; otherwise, false.

實作

適用於

另請參閱