GradientStopCollection.Remove(GradientStop) Metoda

Definicja

Usuwa pierwsze wystąpienie określonego GradientStop z tego GradientStopCollectionelementu .

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

Parametry

value
GradientStop

Element GradientStop do usunięcia z tego GradientStopCollectionelementu .

Zwraca

true jeśli value element został usunięty z obiektu GradientStopCollection; w przeciwnym razie false.

Implementuje

Wyjątki

Element GradientStopCollection jest tylko do odczytu.

-lub-

Element GradientStopCollection ma stały rozmiar.

Dotyczy

Zobacz też