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
声明
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: System.Int32
The location.
- value
Type: System.Object
The snapshot span.
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.