VsTextBufferClass.CreateLineMarker, méthode

Crée une marque d'un type donné au-dessus de la zone spécifiée.

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

Syntaxe

'Déclaration
Public Overridable Function CreateLineMarker ( _
    iMarkerType As Integer, _
    iStartLine As Integer, _
    iStartIndex As Integer, _
    iEndLine As Integer, _
    iEndIndex As Integer, _
    pClient As IVsTextMarkerClient, _
    <OutAttribute> ppMarker As IVsTextLineMarker() _
) As Integer
public virtual int CreateLineMarker(
    int iMarkerType,
    int iStartLine,
    int iStartIndex,
    int iEndLine,
    int iEndIndex,
    IVsTextMarkerClient pClient,
    IVsTextLineMarker[] ppMarker
)
public:
virtual int CreateLineMarker(
    [InAttribute] int iMarkerType, 
    [InAttribute] int iStartLine, 
    [InAttribute] int iStartIndex, 
    [InAttribute] int iEndLine, 
    [InAttribute] int iEndIndex, 
    [InAttribute] IVsTextMarkerClient^ pClient, 
    [OutAttribute] array<IVsTextLineMarker^>^ ppMarker
)
abstract CreateLineMarker : 
        iMarkerType:int * 
        iStartLine:int * 
        iStartIndex:int * 
        iEndLine:int * 
        iEndIndex:int * 
        pClient:IVsTextMarkerClient * 
        ppMarker:IVsTextLineMarker[] byref -> int  
override CreateLineMarker : 
        iMarkerType:int * 
        iStartLine:int * 
        iStartIndex:int * 
        iEndLine:int * 
        iEndIndex:int * 
        pClient:IVsTextMarkerClient * 
        ppMarker:IVsTextLineMarker[] byref -> int
public function CreateLineMarker(
    iMarkerType : int, 
    iStartLine : int, 
    iStartIndex : int, 
    iEndLine : int, 
    iEndIndex : int, 
    pClient : IVsTextMarkerClient, 
    ppMarker : IVsTextLineMarker[]
) : int

Paramètres

  • iMarkerType
    Type : Int32

    [in] type de marque à la créer.

  • iStartLine
    Type : Int32

    [in] à partir de la ligne.

  • iStartIndex
    Type : Int32

    [in] démarrant l'index de caractère dans la ligne. Doit être inférieur ou égal à la longueur de la ligne.

  • iEndLine
    Type : Int32

    [in] terminant la ligne.

  • iEndIndex
    Type : Int32

    [in] index de caractère de fin dans la ligne. Doit être inférieur ou égal à la longueur de la ligne.

  • ppMarker
    Type : array<Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker[]

    [out] pointeur à l'interface d'IVsTextLineMarker (autrement dit, le marqueur de texte). Si ce paramètre est nullune référence null (Nothing en Visual Basic), alors la marque est possédée par la mémoire tampon de texte. Un exemple d'une marque possédée par la mémoire tampon est un signet temporaire.

Valeur de retour

Type : Int32

Implémentations

IVsTextLines.CreateLineMarker(Int32, Int32, Int32, Int32, Int32, IVsTextMarkerClient, array<IVsTextLineMarker[])

Sécurité .NET Framework

Voir aussi

Référence

VsTextBufferClass Classe

Microsoft.VisualStudio.TextManager.Interop, espace de noms