Compartir a través de


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

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, _
    value As Object _
)
public void Insert(
    int index,
    Object value
)
public:
virtual void Insert(
    int index, 
    Object^ value
) sealed
abstract Insert : 
        index:int * 
        value:Object -> unit  
override Insert : 
        index:int * 
        value:Object -> unit
public final function Insert(
    index : int, 
    value : Object
)

Parameters

  • index
    Type: Int32

    The location.

  • value
    Type: Object

    The item.

Implements

IList.Insert(Int32, Object)

.NET Framework Security

See Also

Reference

FilteredObservableCollection<T> Class

Insert Overload

Microsoft.VisualStudio.Language.Intellisense Namespace