PathSegmentCollection.Insert(Int32, PathSegment) メソッド

定義

この PathSegment 内の指定したインデックス位置に、PathSegmentCollection を挿入します。

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

パラメーター

index
Int32

value (指定した PathSegment) を挿入する位置のインデックス。

value
PathSegment

挿入する項目。

実装

例外

valuenullです。

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

PathSegmentCollection は読み取り専用です。

注釈

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

適用対象

こちらもご覧ください