Edit

Share via


IDebugCodeContext2::GetLanguageInfo

Gets the language information for this code context.

Syntax

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