GradientStopCollection.IndexOf(GradientStop) Método

Definición

Devuelve el índice de base cero del objeto GradientStop especificado.

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

Parámetros

value
GradientStop

Elemento que se va a buscar.

Devoluciones

Int32

Es el índice si se ha encontrado el objeto; de lo contrario, es -1.

Implementaciones

Se aplica a