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
[C++]
HRESULT __stdcall get_Languages(
   /* [out, retval] */ Languages** retVal
);
[C#]
public Languages Languages {get;}
[JScript .NET]
public function get Languages() : Languages

Remarks

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.

Example

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)
        Next

    End Sub

See Also

Applies To: Languages Collection | Language Object | Debugger Object

Show:
© 2014 Microsoft