編輯

共用方式為


GradientStopCollection.Remove(GradientStop) Method

Definition

Removes the first occurrence of the specified GradientStop from this 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

Parameters

value
GradientStop

The GradientStop to remove from this GradientStopCollection.

Returns

true if value was removed from the GradientStopCollection; otherwise, false.

Implements

Exceptions

The GradientStopCollection is read-only.

-or-

The GradientStopCollection has a fixed size.

Applies to

See also