Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Inserts a snapshot span into the list. 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, _
    item As SnapshotSpan _
) Implements IList(Of SnapshotSpan).Insert
void IList<SnapshotSpan>.Insert(
    int index,
    SnapshotSpan item
)
private:
virtual void Insert(
    int index, 
    SnapshotSpan item
) sealed = IList<SnapshotSpan>::Insert
private abstract Insert : 
        index:int * 
        item:SnapshotSpan -> unit 
private override Insert : 
        index:int * 
        item:SnapshotSpan -> unit 
JScript does not support explicit interface implementations.
Parameters
- index
 Type: System.Int32
 The location at which to insert the snapshot span.
- item
 Type: Microsoft.VisualStudio.Text.SnapshotSpan
 The snapshot span to insert.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.