共用方式為


IVsTextSpanSet.Add 方法

不要使用這個方法。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Function Add ( _
    cEl As Integer, _
    pSpan As TextSpan() _
) As Integer
int Add(
    int cEl,
    TextSpan[] pSpan
)
int Add(
    [InAttribute] int cEl, 
    [InAttribute] array<TextSpan>^ pSpan
)
abstract Add : 
        cEl:int * 
        pSpan:TextSpan[] -> int
function Add(
    cEl : int, 
    pSpan : TextSpan[]
) : int

參數

  • cEl
    類型:Int32

    不要使用。

傳回值

類型:Int32

.NET Framework 安全性

請參閱

參考

IVsTextSpanSet 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間