Lenguaje

StrokeCollection.IndexOf(Stroke) Método

Definición

Devuelve el índice del especificado Stroke en .StrokeCollection

public:
 int IndexOf(System::Windows::Ink::Stroke ^ stroke);
public int IndexOf(System.Windows.Ink.Stroke stroke);
override this.IndexOf : System.Windows.Ink.Stroke -> int
Public Function IndexOf (stroke As Stroke) As Integer

Parámetros

stroke
Stroke

Trazo cuya posición es necesaria.

Devoluciones

Índice del trazo.

Comentarios

El IndexOf método devuelve -1 si stroke no es miembro de .StrokeCollection

Se aplica a