NormalizedSnapshotSpanCollection.IList<SnapshotSpan>.IList 方法

将快照范围插入到列表中。 此方法引发 NotSupportedException

命名空间:  Microsoft.VisualStudio.Text
程序集:  Microsoft.VisualStudio.Text.Data(在 Microsoft.VisualStudio.Text.Data.dll 中)

语法

声明
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 不支持显式接口实现。

参数

  • index
    类型:Int32

    插入快照范围的位置。

实现

IList.Insert(Int32, UTP)

.NET Framework 安全性

请参阅

参考

NormalizedSnapshotSpanCollection 类

Microsoft.VisualStudio.Text 命名空间