StrokeCollection.IndexOf(Stroke) Método

Definición

Devuelve el índice del objeto Stroke especificado de 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 se requiere.

Devoluciones

Int32

Índice del trazo.

Comentarios

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

Se aplica a