IVsLanguageDebugInfo.GetLanguageID Method
Visual Studio 2012
Returns the corresponding debugger back-end "language ID".
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetLanguageID( IVsTextBuffer pBuffer, int iLine, int iCol, out Guid pguidLanguageID )
Parameters
- pBuffer
- Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
[in] The IVsTextBuffer interface for which the language identifier is required.
- iLine
- Type: Int32
[in] Integer containing the line index.
- iCol
- Type: Int32
[in] Integer containing the column index.
- pguidLanguageID
- Type: Guid
[out] Returns a GUID specifying the language identifier.
Return Value
Type: Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
COM Signature
From textmgr.idl:
HRESULT IVsLanguageDebugInfo::GetLanguageID( [in] IVsTextBuffer *pBuffer, [in] long iLine, [in] long iCol, [out] GUID *pguidLanguageID );
Return the corresponding debugger back-end language identifier. This is not the debug engine identifier, which should be obtained by the current project or somewhere else that knows how the sources for this language are being built.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.