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

要取代目前筆劃的筆劃。

適用於