VSNDK.DebugEngine.AD7MemoryAddress.GetLanguageInfo C# (CSharp) Method

GetLanguageInfo() public method

Gets the language information for this code context. (http://msdn.microsoft.com/en-ca/library/bb144925.aspx)
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.
return 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;
            }
        }