This topic has not yet been rated - Rate this topic

IVsLanguageDebugInfo.GetLanguageID Method

Returns the corresponding debugger back-end "language ID".

Namespace:  Microsoft.VisualStudio.TextManager.Interop
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: Int32
If 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.