Proprietà Breakpoint2.FunctionColumnOffset

Ottiene l'offset della colonna del nome di un punto di interruzione di funzione.

Spazio dei nomi:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Sintassi

'Dichiarazione
ReadOnly Property FunctionColumnOffset As Integer
int FunctionColumnOffset { get; }
property int FunctionColumnOffset {
    int get ();
}
abstract FunctionColumnOffset : int
function get FunctionColumnOffset () : int

Valore proprietà

Tipo: System.Int32
Un Integer che contiene l'offset della colonna dal nome di un punto di interruzione di funzione.

Note

vedere file, nuovo punto di interruzione finestra di dialogo per ulteriori informazioni.

Esempi

Nell'esempio seguente viene illustrato come utilizzare FunctionColumnOffset proprietà.

Per verificare questa proprietà:

  1. Impostare un punto di interruzione nell'applicazione di destinazione.

  2. eseguire il componente aggiuntivo.

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();

    // dte is a reference to the DTE2 object passed to you by the
    // OnConnection method that you implement when you create an Add-in.
    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());
}

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Breakpoint2 Interfaccia

Overload FunctionColumnOffset

Spazio dei nomi EnvDTE80

Altre risorse

Procedura: compilare ed eseguire gli esempi di codice del modello a oggetti di automazione