語言

StrokeCollection.IndexOf(Stroke) 方法

定義

回傳 中指定的StrokeStrokeCollection索引。

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

參數

stroke
Stroke

所要求位置的划槳。

傳回

中風的食指。

備註

若 IndexOf 不是 的stroke成員,該StrokeCollection方法回傳 -1。

適用於