Compartir a través de


IVsLanguageDebugInfo.GetLanguageID (Método)

Devuelve el depurador correspondiente back-end “identificador de idioma”.

Espacio de nombres:  Microsoft.VisualStudio.TextManager.Interop
Ensamblado:  Microsoft.VisualStudio.TextManager.Interop (en Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxis

'Declaración
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

Parámetros

  • iLine
    Tipo: Int32

    [in] entero que contiene el índice de línea.

  • iCol
    Tipo: Int32

    [in] entero que contiene el índice de columna.

  • pguidLanguageID
    Tipo: Guid%

    [out] Devuelve un GUID que especifica el identificador de idioma.

Valor devuelto

Tipo: Int32
si el método tiene éxito, devuelve S_OK.Si se produce un error, devuelve un código de error.

Comentarios

Prototipo COM

de textmgr.idl:

HRESULT IVsLanguageDebugInfo::GetLanguageID(
   [in] IVsTextBuffer *pBuffer, 
   [in] long iLine, 
   [in] long iCol, 
   [out] GUID *pguidLanguageID
);

Devuelve el identificador de idioma correspondiente de back-end del depurador. Éste no es el identificador del motor de depuración, que se debe obtener el proyecto actual o en algún otro que sabe orígenes para este lenguaje se están compilando.

Seguridad de .NET Framework

Vea también

Referencia

IVsLanguageDebugInfo Interfaz

Microsoft.VisualStudio.TextManager.Interop (Espacio de nombres)