StrokeCollection.IndexOf(Stroke) Método

Definição

Retorna o índice do Stroke especificado no 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

O traço cuja posição é necessária.

Retornos

Int32

O índice do traço.

Comentários

O IndexOf método retornará -1 se stroke não for um membro do StrokeCollection.

Aplica-se a