NormalizedSnapshotSpanCollection.IList.Insert 方法

将快照范围插入到列表中的指定位置。 此方法引发 NotSupportedException

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

语法

声明
Private Sub Insert ( _
    index As Integer, _
    value As Object _
) Implements IList.Insert
void IList.Insert(
    int index,
    Object value
)
private:
virtual void Insert(
    int index, 
    Object^ value
) sealed = IList::Insert
private abstract Insert : 
        index:int * 
        value:Object -> unit  
private override Insert : 
        index:int * 
        value:Object -> unit
JScript 不支持显式接口实现。

参数

  • index
    类型:Int32

    位置。

  • value
    类型:Object

    快照范围。

实现

IList.Insert(Int32, Object)

.NET Framework 安全性

请参阅

参考

NormalizedSnapshotSpanCollection 类

Microsoft.VisualStudio.Text 命名空间