共用方式為


IDebugStackFrame2::GetLanguageInfo

Gets the language associated with this stack frame.

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

Reference

IDebugStackFrame2