Breakpoint2.Language Property

Definition

Gets the name of the programming language containing the breakpoint.

public:
 property System::String ^ Language { System::String ^ get(); };
public:
 property Platform::String ^ Language { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(110)]
public string Language { [System.Runtime.InteropServices.DispId(110)] get; }
[<System.Runtime.InteropServices.DispId(110)>]
[<get: System.Runtime.InteropServices.DispId(110)>]
member this.Language : string
Public ReadOnly Property Language As String

Property Value

A string containing the name of the programming language.

Implements

Attributes

Examples

The following example demonstrates how to use the Language property.

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

    EnvDTE80.Debugger2 debugger = (EnvDTE80.Debugger2)dte.Debugger;  
    owp.OutputString("Programming language used to author the code: " +  
                     debugger.Breakpoints.Item(1).Language);  
}  

Applies to