語言

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

參數

傳回

true 若 value 從 中移除 GradientStopCollection;否則, false。

實作

例外狀況

這是 GradientStopCollection 唯讀的。

-或-

它 GradientStopCollection 有固定尺寸。

適用於

另請參閱