PathFigureCollection.Insert(Int32, PathFigure) メソッド

定義

PathFigure をコレクション内の特定の場所に挿入します。

public:
 virtual void Insert(int index, System::Windows::Media::PathFigure ^ value);
public void Insert (int index, System.Windows.Media.PathFigure value);
abstract member Insert : int * System.Windows.Media.PathFigure -> unit
override this.Insert : int * System.Windows.Media.PathFigure -> unit
Public Sub Insert (index As Integer, value As PathFigure)

パラメーター

index
Int32

PathFigure を挿入するインデックス位置。

value
PathFigure

コレクションに挿入する PathFigure オブジェクト。

実装

例外

valuenullです。

indexPathFigureCollection の有効なインデックスではありません。

PathFigureCollection は読み取り専用です。

注釈

一般的な実装IList<T>.Insertとは異なり、この実装では null (Nothing) 参照を挿入しようとすると、an がスローArgumentExceptionされます。

適用対象

こちらもご覧ください