PathFigureCollection.Item[Int32] 屬性

定義

取得或設定在指定索引位置的 PathFigure

public:
 property System::Windows::Media::PathFigure ^ default[int] { System::Windows::Media::PathFigure ^ get(int index); void set(int index, System::Windows::Media::PathFigure ^ value); };
public System.Windows.Media.PathFigure this[int index] { get; set; }
member this.Item(int) : System.Windows.Media.PathFigure with get, set
Default Public Property Item(index As Integer) As PathFigure

參數

index
Int32

要取得或設定的 PathFigure 的以零起始的索引。

屬性值

PathFigure

指定之索引處的 PathFigure

實作

例外狀況

valuenull

index 不是 PathFigureCollection 中的有效索引。

PathFigureCollection 為唯讀。

-或- PathFigureCollection 具有固定的大小。

備註

不同于 的一般實作 IList<T>.Item[] ,如果您嘗試插入 Null (Nothing) 參考,這個實作會 ArgumentException 擲回 。

適用於

另請參閱