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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om