NormalizedSnapshotSpanCollection.IList<SnapshotSpan>.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.