VsTextBufferClass.FindMarkerByLineIndex(Int32, Int32, Int32, UInt32, IVsTextLineMarker) Método

Definição

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

public:
 virtual int FindMarkerByLineIndex(int iMarkerType, int iStartingLine, int iStartingIndex, System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ % ppMarker) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::FindMarkerByLineIndex;
public:
 virtual int FindMarkerByLineIndex(int iMarkerType, int iStartingLine, int iStartingIndex, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ &  ppMarker) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::FindMarkerByLineIndex;
 virtual int FindMarkerByLineIndex(int iMarkerType, int iStartingLine, int iStartingIndex, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker const & & ppMarker);
public virtual int FindMarkerByLineIndex (int iMarkerType, int iStartingLine, int iStartingIndex, uint dwFlags, out Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker ppMarker);
abstract member FindMarkerByLineIndex : int * int * int * uint32 * IVsTextLineMarker -> int
override this.FindMarkerByLineIndex : int * int * int * uint32 * IVsTextLineMarker -> int
Public Overridable Function FindMarkerByLineIndex (iMarkerType As Integer, iStartingLine As Integer, iStartingIndex As Integer, dwFlags As UInteger, ByRef ppMarker As IVsTextLineMarker) As Integer

Parâmetros

iMarkerType
Int32

no Especifica o tipo de marcador a ser localizado.

iStartingLine
Int32

no Linha inicial.

iStartingIndex
Int32

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

dwFlags
UInt32

no Especifica a direção da pesquisa do marcador. Para obter uma lista de dwFlags valores, consulte FINDMARKERFLAGS .

ppMarker
IVsTextLineMarker

fora Ponteiro para a IVsTextLineMarker interface (ou seja, o marcador de texto).

Retornos

Int32

Se o método tiver sucesso, retorna S_OK ; caso contrário, retorna um código de erro.

Implementações

Aplica-se a