VsTextBufferCoordinatorClass.MapSecondaryToPrimarySpan 方法

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
Public Overridable Function MapSecondaryToPrimarySpan ( _
    tsSecondary As TextSpan, _
    <OutAttribute> ptsPrimary As TextSpan() _
) As Integer
public virtual int MapSecondaryToPrimarySpan(
    TextSpan tsSecondary,
    TextSpan[] ptsPrimary
)
public:
virtual int MapSecondaryToPrimarySpan(
    [InAttribute] TextSpan tsSecondary, 
    [OutAttribute] array<TextSpan>^ ptsPrimary
)
abstract MapSecondaryToPrimarySpan : 
        tsSecondary:TextSpan * 
        ptsPrimary:TextSpan[] byref -> int  
override MapSecondaryToPrimarySpan : 
        tsSecondary:TextSpan * 
        ptsPrimary:TextSpan[] byref -> int
public function MapSecondaryToPrimarySpan(
    tsSecondary : TextSpan, 
    ptsPrimary : TextSpan[]
) : int

参数

返回值

类型:Int32

实现

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

.NET Framework 安全性

请参阅

参考

VsTextBufferCoordinatorClass 类

Microsoft.VisualStudio.TextManager.Interop 命名空间