VsTextBufferClass.FindMarkerByLineIndex Method

Definition

Locates a marker of a given type based on a line index.

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, System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLineMarker ^ % ppMarker);
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

Parameters

iMarkerType
Int32

[in] Specifies the type of marker to find.

iStartingLine
Int32

[in] Starting line.

iStartingIndex
Int32

[in] Starting character index within the line. Must be less than or equal to the length of the line.

dwFlags
UInt32

[in] Specifies the direction to search for the marker. For a list of dwFlags values, see FINDMARKERFLAGS.

ppMarker
IVsTextLineMarker

[out] Pointer to the IVsTextLineMarker interface (that is, the text marker).

Returns

If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

Applies to