ReferenceList.Insert(Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts a DataReference or KeyReference object into the ReferenceList collection at the specified position.
public:
virtual void Insert(int index, System::Object ^ value);
public void Insert (int index, object? value);
public void Insert (int index, object value);
abstract member Insert : int * obj -> unit
override this.Insert : int * obj -> unit
Public Sub Insert (index As Integer, value As Object)
Parameters
- index
- Int32
The zero-based index at which value
should be inserted.
- value
- Object
A DataReference or KeyReference object to insert into the ReferenceList collection.
Implements
Exceptions
The value
parameter is not a DataReference object.
-or-
The value
parameter is not a KeyReference object.
The value
parameter is null
.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.