Insert Method
Inserts an item to the IList(T) at the specified index.
Definition
Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public void Insert(
int index,
IStyle item
)
Public Sub Insert (
index As Integer,
item As IStyle
)
abstract Insert :
index : int *
item : IStyle -> unit
override Insert :
index : int *
item : IStyle -> unit
Parameters
- Int32
- The zero-based index at which item should be inserted.
- IStyle
- The object to insert into the IList(T).
Implements
IList(T).Insert(Int32, T)Exceptions
ArgumentOutOfRangeException | index is not a valid index in the IList(T). |
NotSupportedException | The IList(T) is read-only. |