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

GradientStop 从中 GradientStopCollection将其删除。

返回

true 如果 value 已从 GradientStopCollection中删除,则为 ;否则为 false

实现

例外

GradientStopCollection 只读。

-或-

具有 GradientStopCollection 固定大小。

适用于

另请参阅