GradientStopCollection.IndexOf(GradientStop) Méthode

Définition

Retourne l'index de base zéro du GradientStop spécifié.

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

Paramètres

value
GradientStop

Élément à rechercher.

Retours

Int32

Index si l’objet a été trouvé ; sinon, -1.

Implémente

S’applique à