Compartir a través de


IVsTextMarker.SetType (Método)

Establece un tipo de marcador de texto.

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

Sintaxis

'Declaración
Function SetType ( _
    iMarkerType As Integer _
) As Integer
int SetType(
    int iMarkerType
)
int SetType(
    [InAttribute] int iMarkerType
)
abstract SetType : 
        iMarkerType:int -> int
function SetType(
    iMarkerType : int
) : int

Parámetros

  • iMarkerType
    Tipo: Int32

    [in] Entero que contiene el marcador con tipo para establecer.

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 IVsTextMarker::SetType(
   [in] long iMarkerType
);

Seguridad de .NET Framework

Vea también

Referencia

IVsTextMarker Interfaz

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