PathSegmentCollection.Insert(Int32, PathSegment) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的索引處插入 a 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
要插入的物品。
實作
例外狀況
value 是 null。
index 在 中 不是有效的索引 PathSegmentCollection。
備註
與典型的 實IList<T>.Insert作不同,這個實作會在你嘗試插入ArgumentExceptionNothing)參考時拋出 。