Share via


IVsTextMarker.GetType, méthode

Retourne un type de marqueur de texte.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
Function GetType ( _
    <OutAttribute> ByRef piMarkerType As Integer _
) As Integer
int GetType(
    out int piMarkerType
)
int GetType(
    [OutAttribute] int% piMarkerType
)
abstract GetType : 
        piMarkerType:int byref -> int
function GetType(
    piMarkerType : int
) : int

Paramètres

  • piMarkerType
    Type : Int32%

    [out] pointeur à la valeur entière représentant le type de marqueur.

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextStreamMarker::GetType(
   [out] long *piMarkerType
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextMarker Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms