Insert Method
Inserts an element into the collection at the specified index.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public void Insert(
int index,
Object? value
)
Public Sub Insert (
index As Integer,
value As Object
)
member Insert :
index : int *
value : Object -> unit
Parameters
Exceptions
InvalidOperationException | The collection is in ItemsSource mode. |