Breakpoint2::FunctionColumnOffset Property
Visual Studio 2015
Gets the column offset from the name of a function breakpoint.
Assembly: EnvDTE80 (in EnvDTE80.dll)
Property Value
Type: System::Int32An integer containing the column offset from the name of a function breakpoint.
Implements
Breakpoint::FunctionColumnOffsetSee File, New Breakpoint dialog box for more information.
The following example demonstrates how to use the FunctionColumnOffset property.
public static void FunctionColumnOffset(EnvDTE80.DTE2 dte) { // Setup debug Output window. Window w = (Window)dte.Windows.Item(EnvDTE.Constants.vsWindowKindOutput); w.Visible = true; OutputWindow ow = (OutputWindow)w.Object; OutputWindowPane owp = ow.OutputWindowPanes.Add("FunctionColumnOffset property: "); owp.Activate(); EnvDTE80.Debugger2 debugger = (EnvDTE80.Debugger2)dte.Debugger; owp.OutputString("\n FunctionColumnOffset: " + debugger.Breakpoints.Item(1).FunctionColumnOffset.ToString()); owp.OutputString("\n FunctionLineOffset: " + debugger.Breakpoints.Item(1).FunctionLineOffset.ToString()); }
Show: