語言

Int32Collection.Insert(Int32, Int32) 方法

定義

將 插入 於 Int32 收藏中的特定位置。

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

參數

index
Int32

插入 的 Int32 指標位置。

value
Int32

Int32將插入收藏中。

實作

例外狀況

index 在 中 不是有效的索引 Int32Collection。

這是 Int32Collection 唯讀的。

-或-

它 Int32Collection 有固定尺寸。

適用於

另請參閱