Compartilhar via


IVsLanguageDebugInfo3.GetValidBreakpointLineVariance Method

Gets the valid line variance for binding a breakpoint for a given source location.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

Syntax

'Declaration
Sub GetValidBreakpointLineVariance ( _
    pBuffer As IVsTextBuffer, _
    iLine As Integer, _
    iCol As Integer, _
    <OutAttribute> ByRef piVariance As Integer _
)
void GetValidBreakpointLineVariance(
    IVsTextBuffer pBuffer,
    int iLine,
    int iCol,
    out int piVariance
)
void GetValidBreakpointLineVariance(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [InAttribute] int iLine, 
    [InAttribute] int iCol, 
    [OutAttribute] int% piVariance
)
abstract GetValidBreakpointLineVariance : 
        pBuffer:IVsTextBuffer * 
        iLine:int * 
        iCol:int * 
        piVariance:int byref -> unit
function GetValidBreakpointLineVariance(
    pBuffer : IVsTextBuffer, 
    iLine : int, 
    iCol : int, 
    piVariance : int
)

Parameters

  • iLine
    Type: System.Int32

    [in] Line for the candidate breakpoint.

  • iCol
    Type: System.Int32

    [in] Column for the candidate breakpoint.

  • piVariance
    Type: System.Int32%

    [out] Number of lines below iLine within which to bind breakpoint. Value of -1 specifies the debugger default number of lines.

Remarks

The debugger calls this function if ValidateBreakpointLocation returns E_NOIMPL.

.NET Framework Security

See Also

Reference

IVsLanguageDebugInfo3 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace