Redigera

Dela via


GradientStopCollection.IndexOf(GradientStop) Method

Definition

Returns the zero-based index of the specified GradientStop.

public:
 virtual int IndexOf(System::Windows::Media::GradientStop ^ value);
public int IndexOf (System.Windows.Media.GradientStop value);
abstract member IndexOf : System.Windows.Media.GradientStop -> int
override this.IndexOf : System.Windows.Media.GradientStop -> int
Public Function IndexOf (value As GradientStop) As Integer

Parameters

value
GradientStop

The item to search for.

Returns

The index if the object was found; otherwise, -1.

Implements

Applies to