次の方法で共有


NormalizedSnapshotSpanCollection.IList<SnapshotSpan>.Insert Method

Definition

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

 virtual void System.Collections.Generic.IList<Microsoft.VisualStudio.Text.SnapshotSpan>.Insert(int index, Microsoft::VisualStudio::Text::SnapshotSpan item) = System::Collections::Generic::IList<Microsoft::VisualStudio::Text::SnapshotSpan>::Insert;
void System.Collections.Generic.IList<Microsoft.VisualStudio.Text.SnapshotSpan>.Insert(int index, Microsoft::VisualStudio::Text::SnapshotSpan item);
void IList<SnapshotSpan>.Insert (int index, Microsoft.VisualStudio.Text.SnapshotSpan item);
abstract member System.Collections.Generic.IList<Microsoft.VisualStudio.Text.SnapshotSpan>.Insert : int * Microsoft.VisualStudio.Text.SnapshotSpan -> unit
override this.System.Collections.Generic.IList<Microsoft.VisualStudio.Text.SnapshotSpan>.Insert : int * Microsoft.VisualStudio.Text.SnapshotSpan -> unit
Sub Insert (index As Integer, item As SnapshotSpan) Implements IList(Of SnapshotSpan).Insert

Parameters

index
Int32

The location at which to insert the snapshot span.

item
SnapshotSpan

The snapshot span to insert.

Implements

Applies to