NormalizedSnapshotSpanCollection.IList<SnapshotSpan>.IList-Methode
Fügt eine Momentaufnahmespanne in der Liste ein. Diese Methode löst eine NotSupportedException aus.
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 unterstützt keine expliziten Schnittstellenimplementierungen
Parameter
index
Typ: Int32Die Position, an der die Momentaufnahme enthalten, die eingefügt werden soll.
item
Typ: Microsoft.VisualStudio.Text.SnapshotSpanDie einzufügende Momentaufnahmespanne.
Implementiert
IList.Insert(Int32, UTP)
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.