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

index 不是 . 中的 PathSegmentCollection有效索引。

PathSegmentCollection 只读。

-或-

具有 PathSegmentCollection 固定大小。

注解

与典型的实现不同,如果尝试插入 IList<T>.InsertArgumentException) 引用,则此实现将引发此实现。

适用于

另请参阅