IVsLanguageDebugInfo::GetLanguageID Method (IVsTextBuffer^, Int32, Int32, Guid)

 

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,
	[OutAttribute] Guid% pguidLanguageID
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextBuffer^

[in] The IVsTextBuffer interface for which the language identifier is required.

iLine
Type: System::Int32

[in] Integer containing the line index.

iCol
Type: System::Int32

[in] Integer containing the column index.

pguidLanguageID
Type: System::Guid

[out] Returns a GUID specifying the language identifier.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

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.

Return to top
Show: