Język

StrokeCollection.IndexOf(Stroke) Metoda

Definicja

Zwraca indeks określonego Stroke w obiekcie 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

Parametry

stroke
Stroke

Pociągnięcie, którego położenie jest wymagane.

Zwraca

Indeks pociągnięcia.

Uwagi

Metoda IndexOf zwraca -1, jeśli stroke nie jest członkiem obiektu StrokeCollection.

Dotyczy