Partilhar via


FilteredObservableCollection<T>.Insert Method

Definition

Overloads

Insert(Int32, Object)

Since this collection is read-only, throws an InvalidOperationException.

Insert(Int32, T)

Since this collection is read-only, throws an InvalidOperationException.

Insert(Int32, Object)

Since this collection is read-only, throws an InvalidOperationException.

public:
 virtual void Insert(int index, System::Object ^ value);
public:
 void Insert(int index, Platform::Object ^ value);
void Insert(int index, winrt::Windows::Foundation::IInspectable const & 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 location.

value
Object

The item.

Implements

Applies to

Insert(Int32, T)

Since this collection is read-only, throws an InvalidOperationException.

public:
 virtual void Insert(int index, T item);
public:
 void Insert(int index, T item);
void Insert(int index, T item);
public void Insert (int index, T item);
abstract member Insert : int * 'T -> unit
override this.Insert : int * 'T -> unit
Public Sub Insert (index As Integer, item As T)

Parameters

index
Int32

The location.

item
T

The item.

Implements

Applies to