Condividi tramite


IDebugCodeContext2::GetLanguageInfo

Gets the language information for this code context.

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

Parameters

  • pbstrLanguage
    [in, out] Returns a string that contains the name of the language, such as "C++."

  • pguidLanguage
    [in, out] Returns the GUID for the language of the code context, for example, guidCPPLang.

Return Value

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

Remarks

At least one of the parameters must return a non-null value.

See Also

Reference

IDebugCodeContext2