Compartir a través de


IDebugStackFrame2::GetLanguageInfo

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Gets the language associated with this stack frame.

Syntax

HRESULT GetLanguageInfo ( 
   BSTR* pbstrLanguage,
   GUID* pguidLanguage
);
int GetLanguageInfo ( 
   ref string pbstrLanguage,
   ref Guid   pguidLanguage
);

Parameters

pbstrLanguage
[out] Returns the name of the language that implements the method associated with this stack frame.

pguidLanguage
[out] Returns the GUID of the language. For the Visual Studio languages, for example, the following can be returned:

  • guidVBScriptLang\

  • guidJScriptLang\

  • guidCPPLang\

  • guidVBLang\

  • guidSQLLang\

  • guidScriptLang\

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See also