Compartir a través de


BulkObservableCollection<T>.InsertItem Method

Inserts an item at the specified index.

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

Syntax

'Declaration
Protected Overrides Sub InsertItem ( _
    index As Integer, _
    item As T _
)
protected override void InsertItem(
    int index,
    T item
)
protected:
virtual void InsertItem(
    int index, 
    T item
) override
abstract InsertItem : 
        index:int * 
        item:'T -> unit  
override InsertItem : 
        index:int * 
        item:'T -> unit
protected override function InsertItem(
    index : int, 
    item : T
)

Parameters

  • index
    Type: Int32

    The location at which to insert the item.

  • item
    Type: T

    The item to insert.

.NET Framework Security

See Also

Reference

BulkObservableCollection<T> Class

Microsoft.VisualStudio.Language.Intellisense Namespace