VsTextBufferClass::FindMarkerByLineIndex Method (Int32, Int32, Int32, UInt32, IVsTextLineMarker^)
Visual Studio 2015
Locates a marker of a given type based on a line index.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int FindMarkerByLineIndex( int iMarkerType, int iStartingLine, int iStartingIndex, unsigned int dwFlags, [OutAttribute] IVsTextLineMarker^% ppMarker )
Parameters
- iMarkerType
-
Type:
System::Int32
[in] Specifies the type of marker to find.
- iStartingLine
-
Type:
System::Int32
[in] Starting line.
- iStartingIndex
-
Type:
System::Int32
[in] Starting character index within the line. Must be less than or equal to the length of the line.
- dwFlags
-
Type:
System::UInt32
[in] Specifies the direction to search for the marker. For a list of dwFlags values, see FINDMARKERFLAGS.
- ppMarker
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLineMarker^
[out] Pointer to the IVsTextLineMarker interface (that is, the text marker).
Return Value
Type: System::Int32If the method succeeds, returns S_OK; otherwise, returns an error code.
Show: