Freigeben über


FilteredObservableCollection<T>.Insert Method (Int32, T)

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

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    item As T _
)
public void Insert(
    int index,
    T item
)
public:
virtual void Insert(
    int index, 
    T item
) sealed
abstract Insert : 
        index:int * 
        item:'T -> unit 
override Insert : 
        index:int * 
        item:'T -> unit 
public final function Insert(
    index : int, 
    item : T
)

Parameters

  • item
    Type: T
    The item.

Implements

IList<T>.Insert(Int32, T)

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Insert Overload

Microsoft.VisualStudio.Language.Intellisense Namespace