ModelingBindingSource.Insert(Int32, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将一项插入列表中指定的索引处。
public:
override void Insert(int index, System::Object ^ value);
public override void Insert (int index, object value);
override this.Insert : int * obj -> unit
Public Overrides Sub Insert (index As Integer, value As Object)
参数
- index
- Int32
从零开始的索引,应在该位置插入项。
- value
- Object
要插入的项。
例外
当 AllowNew 标志设置为 false 时发生。