Поделиться через


VsTextBufferCoordinatorClass.MapPrimaryToSecondarySpan - метод

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop.8.0 (в Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Синтаксис

'Декларация
Public Overridable Function MapPrimaryToSecondarySpan ( _
    tsPrimary As TextSpan, _
    <OutAttribute> ptsSecondary As TextSpan() _
) As Integer
public virtual int MapPrimaryToSecondarySpan(
    TextSpan tsPrimary,
    TextSpan[] ptsSecondary
)
public:
virtual int MapPrimaryToSecondarySpan(
    [InAttribute] TextSpan tsPrimary, 
    [OutAttribute] array<TextSpan>^ ptsSecondary
)
abstract MapPrimaryToSecondarySpan : 
        tsPrimary:TextSpan * 
        ptsSecondary:TextSpan[] byref -> int  
override MapPrimaryToSecondarySpan : 
        tsPrimary:TextSpan * 
        ptsSecondary:TextSpan[] byref -> int
public function MapPrimaryToSecondarySpan(
    tsPrimary : TextSpan, 
    ptsSecondary : TextSpan[]
) : int

Параметры

Возвращаемое значение

Тип: Int32

Реализации

IVsTextBufferCoordinator.MapPrimaryToSecondarySpan(TextSpan, array<TextSpan[])

Безопасность платформы .NET Framework

См. также

Ссылки

VsTextBufferCoordinatorClass Класс

Microsoft.VisualStudio.TextManager.Interop - пространство имен