IVsCanCoordinatorClipTextSpan.ShouldClipSpanToValidSpanInSecondaryBuffer 方法

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

语法

声明
Function ShouldClipSpanToValidSpanInSecondaryBuffer ( _
    pPrimaryBuffer As IVsTextLines, _
    pSecondaryBuffer As IVsTextLines, _
    ptsTextSpanInPrimaryBuffer As TextSpan(), _
    <OutAttribute> ByRef pfShouldClipTextSpan As Integer _
) As Integer
int ShouldClipSpanToValidSpanInSecondaryBuffer(
    IVsTextLines pPrimaryBuffer,
    IVsTextLines pSecondaryBuffer,
    TextSpan[] ptsTextSpanInPrimaryBuffer,
    out int pfShouldClipTextSpan
)
int ShouldClipSpanToValidSpanInSecondaryBuffer(
    [InAttribute] IVsTextLines^ pPrimaryBuffer, 
    [InAttribute] IVsTextLines^ pSecondaryBuffer, 
    [InAttribute] array<TextSpan>^ ptsTextSpanInPrimaryBuffer, 
    [OutAttribute] int% pfShouldClipTextSpan
)
abstract ShouldClipSpanToValidSpanInSecondaryBuffer : 
        pPrimaryBuffer:IVsTextLines * 
        pSecondaryBuffer:IVsTextLines * 
        ptsTextSpanInPrimaryBuffer:TextSpan[] * 
        pfShouldClipTextSpan:int byref -> int
function ShouldClipSpanToValidSpanInSecondaryBuffer(
    pPrimaryBuffer : IVsTextLines, 
    pSecondaryBuffer : IVsTextLines, 
    ptsTextSpanInPrimaryBuffer : TextSpan[], 
    pfShouldClipTextSpan : int
) : int

参数

  • pfShouldClipTextSpan
    类型:Int32%

返回值

类型:Int32

.NET Framework 安全性

请参阅

参考

IVsCanCoordinatorClipTextSpan 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间