Share via


IVsLanguageDebugInfo3.GetValidBreakpointLineVariance Method

Definition

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

public:
 void GetValidBreakpointLineVariance(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, int iLine, int iCol, [Runtime::InteropServices::Out] int % piVariance);
void GetValidBreakpointLineVariance(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer, int iLine, int iCol, [Runtime::InteropServices::Out] int & piVariance);
public void GetValidBreakpointLineVariance (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer, int iLine, int iCol, out int piVariance);
abstract member GetValidBreakpointLineVariance : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * int * int * int -> unit
Public Sub GetValidBreakpointLineVariance (pBuffer As IVsTextBuffer, iLine As Integer, iCol As Integer, ByRef piVariance As Integer)

Parameters

pBuffer
IVsTextBuffer

[in] Code buffer containing the candidate breakpoint.

iLine
Int32

[in] Line for the candidate breakpoint.

iCol
Int32

[in] Column for the candidate breakpoint.

piVariance
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. As of Visual Studio 17.4, the debugger will always call this method.

Applies to