This documentation is archived and is not being maintained.

Breakpoint.FunctionColumnOffset Property

Indicates the column offset from the name of a function breakpoint.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

int FunctionColumnOffset { get; }
/** @property */
int get_FunctionColumnOffset ()

function get FunctionColumnOffset () : int

Property Value

An integer value representing the column offset from the name of a function breakpoint.

The following example demonstrates how to use the FunctionColumnOffset property.

To test this property:

  1. Set a breakpoint in the target application.

  2. Run the add-in.

public static void FunctionColumnOffset(DTE 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 Test: ");

    // dte is a reference to the DTE object passed to you by the
    // OnConnection method that you implement when you create an add-in.
    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;
    owp.OutputString("\n FunctionColumnOffset: " + 
    owp.OutputString("\n FunctionLineOffset: " +