Partager via


NormalizedSnapshotSpanCollection.IList.Insert Method

Inserts a snapshot span into the list at the specified location. This method throws a NotSupportedException.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Private Sub Insert ( _
    index As Integer, _
    value As Object _
) Implements IList.Insert
void IList.Insert(
    int index,
    Object value
)
private:
virtual void Insert(
    int index, 
    Object^ value
) sealed = IList::Insert
private abstract Insert : 
        index:int * 
        value:Object -> unit  
private override Insert : 
        index:int * 
        value:Object -> unit
JScript does not support explicit interface implementations.

Parameters

  • index
    Type: Int32

    The location.

  • value
    Type: Object

    The snapshot span.

Implements

IList.Insert(Int32, Object)

.NET Framework Security

See Also

Reference

NormalizedSnapshotSpanCollection Class

Microsoft.VisualStudio.Text Namespace