DoubleCollection.Remove(Double) 方法

定義

從這個 Double 移除指定之 DoubleCollection 的第一個項目。Removes the first occurrence of the specified Double from this DoubleCollection.

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

參數

value
Double

要從這個集合中移除的項目。The item to remove from this collection.

傳回

如果已從 DoubleCollection 移除 value 則為 true,否則為 falsetrue if value was removed from the DoubleCollection; otherwise, false.

實作

例外狀況

DoubleCollection 是唯讀的。The DoubleCollection is read-only.

-或--or- DoubleCollection 具有固定的大小。The DoubleCollection has a fixed size.

適用於

另請參閱