Partilhar via


Método IVsSyntheticRegion.GetMarkerType

Obtém o tipo de marcador.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Function GetMarkerType ( _
    <OutAttribute> ByRef piMarkerType As Integer _
) As Integer
int GetMarkerType(
    out int piMarkerType
)
int GetMarkerType(
    [OutAttribute] int% piMarkerType
)
abstract GetMarkerType : 
        piMarkerType:int byref -> int
function GetMarkerType(
    piMarkerType : int
) : int

Parâmetros

  • piMarkerType
    Tipo: Int32%

    [out] See SYNTHETIC_REGION_TYPE enum

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsSyntheticRegion::GetMarkerType(
   [out] long *piMarkerType
);

Segurança do .NET Framework

Consulte também

Referência

IVsSyntheticRegion Interface

Namespace Microsoft.VisualStudio.TextManager.Interop