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
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про