Partilhar via


Método VsTextBufferClass.FindMarkerByLineIndex

Localiza um marcador de um determinado tipo com base em um índice de linha.

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

Sintaxe

'Declaração
Public Overridable Function FindMarkerByLineIndex ( _
    iMarkerType As Integer, _
    iStartingLine As Integer, _
    iStartingIndex As Integer, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef ppMarker As IVsTextLineMarker _
) As Integer
public virtual int FindMarkerByLineIndex(
    int iMarkerType,
    int iStartingLine,
    int iStartingIndex,
    uint dwFlags,
    out IVsTextLineMarker ppMarker
)
public:
virtual int FindMarkerByLineIndex(
    [InAttribute] int iMarkerType, 
    [InAttribute] int iStartingLine, 
    [InAttribute] int iStartingIndex, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] IVsTextLineMarker^% ppMarker
)
abstract FindMarkerByLineIndex : 
        iMarkerType:int * 
        iStartingLine:int * 
        iStartingIndex:int * 
        dwFlags:uint32 * 
        ppMarker:IVsTextLineMarker byref -> int  
override FindMarkerByLineIndex : 
        iMarkerType:int * 
        iStartingLine:int * 
        iStartingIndex:int * 
        dwFlags:uint32 * 
        ppMarker:IVsTextLineMarker byref -> int
public function FindMarkerByLineIndex(
    iMarkerType : int, 
    iStartingLine : int, 
    iStartingIndex : int, 
    dwFlags : uint, 
    ppMarker : IVsTextLineMarker
) : int

Parâmetros

  • iMarkerType
    Tipo: Int32

    [in] Especifica o tipo de marcador para localizar.

  • iStartingLine
    Tipo: Int32

    [in] Linha inicial.

  • iStartingIndex
    Tipo: Int32

    [in] Índice de caractere inicial dentro da linha. Deve ser menor ou igual ao comprimento da linha.

  • dwFlags
    Tipo: UInt32

    [in] Especifica a direção para procurar o marcador. Para obter uma lista de dwFlags valores, consulte FINDMARKERFLAGS.

Valor de retorno

Tipo: Int32

Implementações

IVsTextLines.FindMarkerByLineIndex(Int32, Int32, Int32, UInt32, IVsTextLineMarker%)

Segurança do .NET Framework

Consulte também

Referência

VsTextBufferClass Classe

Namespace Microsoft.VisualStudio.TextManager.Interop