PathSegmentCollection.Insert(Int32, PathSegment) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定的索引处插入此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
要插入的项。
实现
例外
value 是 null。
index 不是 . 中的 PathSegmentCollection有效索引。
注解
与典型的实现不同,如果尝试插入 IList<T>.Insert (ArgumentException) 引用,则此实现将引发此实现。