Compartir a través de


IVsTextManager.GetMarkerTypeInterface (Método)

Asigna un identificador de tipo numérico de marcador a una interfaz que se puede usar al buscar información específica.

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

Sintaxis

'Declaración
Function GetMarkerTypeInterface ( _
    iMarkerTypeID As Integer, _
    <OutAttribute> ByRef ppMarkerType As IVsTextMarkerType _
) As Integer
int GetMarkerTypeInterface(
    int iMarkerTypeID,
    out IVsTextMarkerType ppMarkerType
)
int GetMarkerTypeInterface(
    [InAttribute] int iMarkerTypeID, 
    [OutAttribute] IVsTextMarkerType^% ppMarkerType
)
abstract GetMarkerTypeInterface : 
        iMarkerTypeID:int * 
        ppMarkerType:IVsTextMarkerType byref -> int
function GetMarkerTypeInterface(
    iMarkerTypeID : int, 
    ppMarkerType : IVsTextMarkerType
) : int

Parámetros

  • iMarkerTypeID
    Tipo: Int32

    [in] El identificador de tipo de marcador, por ejemplo de GetType.

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 IVsTextManager::GetMarkerTypeInterface(
   [in] long iMarkerTypeID,
   [out] IVsTextMarkerType **ppMarkerType
);

Utilice esta interfaz para dibujar un glifo de marcador en dispone de la interfaz de usuario.

Seguridad de .NET Framework

Vea también

Referencia

IVsTextManager Interfaz

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