Lingua

StrokeCollection.IndexOf(Stroke) Metodo

Definizione

Restituisce l'indice dell'oggetto specificato Stroke nell'oggetto 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

Parametri

stroke
Stroke

Tratto la cui posizione è obbligatoria.

Valori restituiti

Indice del tratto.

Commenti

Il IndexOf metodo restituisce -1 se stroke non è un membro dell'oggetto StrokeCollection.

Si applica a