GradientStopCollection.Remove(GradientStop) 方法

定義

從這個 GradientStop 移除指定之 GradientStopCollection 的第一個項目。

public:
 virtual bool Remove(System::Windows::Media::GradientStop ^ value);
public bool Remove (System.Windows.Media.GradientStop value);
abstract member Remove : System.Windows.Media.GradientStop -> bool
override this.Remove : System.Windows.Media.GradientStop -> bool
Public Function Remove (value As GradientStop) As Boolean

參數

value
GradientStop

要從這個 GradientStopCollection 中移除的 GradientStop

傳回

Boolean

如果已從 GradientStopCollection 移除 value 則為 true,否則為 false

實作

例外狀況

GradientStopCollection 為唯讀。

-或- GradientStopCollection 具有固定的大小。

適用於

另請參閱