Freigeben über


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)

Syntax

'Declaration
Function GetLanguageID ( _
    pBuffer As IVsTextBuffer, _
    iLine As Integer, _
    iCol As Integer, _
    <OutAttribute> ByRef pguidLanguageID As Guid _
) As Integer
int GetLanguageID(
    IVsTextBuffer pBuffer,
    int iLine,
    int iCol,
    out Guid pguidLanguageID
)
int GetLanguageID(
    [InAttribute] IVsTextBuffer^ pBuffer, 
    [InAttribute] int iLine, 
    [InAttribute] int iCol, 
    [OutAttribute] Guid% pguidLanguageID
)
abstract GetLanguageID : 
        pBuffer:IVsTextBuffer * 
        iLine:int * 
        iCol:int * 
        pguidLanguageID:Guid byref -> int
function GetLanguageID(
    pBuffer : IVsTextBuffer, 
    iLine : int, 
    iCol : int, 
    pguidLanguageID : Guid
) : int

Parameters

  • 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.

Remarks

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.

.NET Framework Security

See Also

Reference

IVsLanguageDebugInfo Interface

Microsoft.VisualStudio.TextManager.Interop Namespace