public GetLanguageInfo ( string &pbstrLanguage, System.Guid &pguidLanguage ) : int | ||
pbstrLanguage | string | Returns a string that contains the name of the language, such as "C++.". |
pguidLanguage | System.Guid | Returns the GUID for the language of the code context, for example, guidCPPLang. |
리턴 | int |
public int GetLanguageInfo(ref string pbstrLanguage, ref Guid pguidLanguage)
{
if (m_documentContext != null)
{
m_documentContext.GetLanguageInfo(ref pbstrLanguage, ref pguidLanguage);
return VSConstants.S_OK;
}
else
{
return VSConstants.S_FALSE;
}
}