Breakpoint.FunctionLineOffset Property

Definition

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

C++/CX
public:
 property int FunctionLineOffset { int get(); };

Property Value

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

Attributes

Examples

The following example demonstrates how to use the FunctionLineOffset property.

C#
public static void FunctionLineOffset(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("FunctionLineOffset Property Test: ");  
    owp.Activate();  

    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;  
    owp.OutputString("\n FunctionColumnOffset: " +   
                      debugger.Breakpoints.Item(1).FunctionColumnOffset.ToString());  
    owp.OutputString("\n FunctionLineOffset: " +   
                      debugger.Breakpoints.Item(1).FunctionLineOffset.ToString());  
}  

Remarks

Depending on engine, this may not function properly in native language.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022