NormalizedSnapshotSpanCollection.IList<SnapshotSpan>.Insert(Int32, SnapshotSpan) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Вставляет диапазон снимка в список. Этот метод создает исключение 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
Параметры
- index
- Int32
Позиция, в которой вставляется диапазон снимка.
- item
- SnapshotSpan
Вставляемый диапазон снимка.