Compartir a través de


IVsTextManager.GetMarkerTypeCount (Método)

Devuelve el número de tipos registrados de marcador de posición dentro de todos los búferes asociado con el editor de texto básico.

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

Sintaxis

'Declaración
Function GetMarkerTypeCount ( _
    <OutAttribute> ByRef piMarkerTypeCount As Integer _
) As Integer
int GetMarkerTypeCount(
    out int piMarkerTypeCount
)
int GetMarkerTypeCount(
    [OutAttribute] int% piMarkerTypeCount
)
abstract GetMarkerTypeCount : 
        piMarkerTypeCount:int byref -> int
function GetMarkerTypeCount(
    piMarkerTypeCount : int
) : int

Parámetros

  • piMarkerTypeCount
    Tipo: Int32%

    [out] Puntero a un recuento de los tipos de marcador.

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::GetMarkerTypeCount(
   [out] long *piMarkerTypeCount
);

Los tipos externamente registrados de marcador pueden cambiar el recuento de los tipos de marcador de posición para el editor.

Seguridad de .NET Framework

Vea también

Referencia

IVsTextManager Interfaz

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