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

定義

指定したインデックス位置にあるこのPathSegmentPathSegmentCollectionを挿入します。

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です。

index は、 PathSegmentCollection内の有効なインデックスではありません。

PathSegmentCollectionは読み取り専用です。

-又は-

PathSegmentCollectionには固定サイズがあります。

注釈

IList<T>.Insertの一般的な実装とは異なり、ArgumentExceptionNothing) 参照を挿入しようとすると、この実装はをスローします。

適用対象

こちらもご覧ください