語言

StrokeCollection.SetItem(Int32, Stroke) 方法

定義

在指定的索引處替換筆劃。

protected:
 override void SetItem(int index, System::Windows::Ink::Stroke ^ stroke);
protected override sealed void SetItem(int index, System.Windows.Ink.Stroke stroke);
override this.SetItem : int * System.Windows.Ink.Stroke -> unit
Protected Overrides NotOverridable Sub SetItem (index As Integer, stroke As Stroke)

參數

index
Int32

替換行程的位置。

stroke
Stroke

用來取代目前的行程。

適用於