Partager via


IVsTextMarker.SetType, méthode

Définit 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 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

Paramètres

  • iMarkerType
    Type : Int32

    [in] entier contenant le type de marqueur à définir.

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

Sécurité .NET Framework

Voir aussi

Référence

IVsTextMarker Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms