StrokeCollection.IndexOf(Stroke) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳 中指定的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。