Breakpoint2.FunctionLineOffset Propriété

Définition

Obtient l'offset de ligne à partir du nom d'un point d'arrêt sur fonction.

public:
 property int FunctionLineOffset { int get(); };
public:
 property int FunctionLineOffset { int get(); };
[System.Runtime.InteropServices.DispId(103)]
public int FunctionLineOffset { [System.Runtime.InteropServices.DispId(103)] get; }
[<System.Runtime.InteropServices.DispId(103)>]
[<get: System.Runtime.InteropServices.DispId(103)>]
member this.FunctionLineOffset : int
Public ReadOnly Property FunctionLineOffset As Integer

Valeur de propriété

Int32

Entier qui contient l'offset de ligne à partir du nom d'un point d'arrêt sur fonction.

Implémente

Attributs

Exemples

L’exemple suivant montre comment utiliser la FunctionLineOffset propriété.

public static void FunctionLineOffset (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("FunctionLineOffset 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());  
}  

Remarques

Pour plus d’informations, consultez boîte de dialogue fichier, nouveau point d’arrêt .

S’applique à