Export (0) Print
Expand All

Languages Property

Visual Studio .NET 2003

Returns a list of languages that the debugger supports.

[Visual Basic .NET]
Public ReadOnly Property Languages() As Languages
[Visual Basic 6]
Property Get Languages() As Languages
HRESULT __stdcall get_Languages(
   /* [out, retval] */ Languages** retVal
public Languages Languages {get;}
[JScript .NET]
public function get Languages() : Languages


Returns a Languages collection containing a list of languages that the debugger supports. This list is dictated by the version of Visual Studio, and which language add-ons you might have installed.


Sub SupportedLanguages()
        Dim ow As OutputWindow
        ow = DTE.Windows.Item(Constants.vsWindowKindOutput).Object

        ow.ActivePane.OutputString("Debugger supports the following languages:" + vbCrLf)

        Dim lang As Language
        For Each lang In DTE.Debugger.Languages
            ow.ActivePane.OutputString(lang.Name + vbCrLf)

    End Sub

See Also

Applies To: Languages Collection | Language Object | Debugger Object

© 2014 Microsoft