Compartilhar via


VsTextBufferClass.EnumMarkers Method

Definition

Enumerates a specific set of text line markers, based on the criteria specified.

public:
 virtual int EnumMarkers(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex, int iMarkerType, System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumLineMarkers ^ % ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::EnumMarkers;
public:
 virtual int EnumMarkers(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex, int iMarkerType, System::UInt32 dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumLineMarkers ^ % ppEnum);
public:
 virtual int EnumMarkers(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex, int iMarkerType, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumLineMarkers ^ &  ppEnum) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::EnumMarkers;
 virtual int EnumMarkers(int iStartLine, int iStartIndex, int iEndLine, int iEndIndex, int iMarkerType, unsigned int dwFlags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumLineMarkers const & & ppEnum);
public virtual int EnumMarkers (int iStartLine, int iStartIndex, int iEndLine, int iEndIndex, int iMarkerType, uint dwFlags, out Microsoft.VisualStudio.TextManager.Interop.IVsEnumLineMarkers ppEnum);
abstract member EnumMarkers : int * int * int * int * int * uint32 * IVsEnumLineMarkers -> int
override this.EnumMarkers : int * int * int * int * int * uint32 * IVsEnumLineMarkers -> int
Public Overridable Function EnumMarkers (iStartLine As Integer, iStartIndex As Integer, iEndLine As Integer, iEndIndex As Integer, iMarkerType As Integer, dwFlags As UInteger, ByRef ppEnum As IVsEnumLineMarkers) As Integer

Parameters

iStartLine
Int32

[in] Starting line.

iStartIndex
Int32

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

iEndLine
Int32

[in] Ending line.

iEndIndex
Int32

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

iMarkerType
Int32

[in] This parameter is ignored if a value of EM_ALLTYPES is specified for the dwFlags parameter. Otherwise, this parameter indicates the marker type to find.

dwFlags
UInt32

[in] Enumeration options. For a list of dwFlags values, see ENUMMARKERFLAGS.

ppEnum
IVsEnumLineMarkers

[out] Pointer to the IVsEnumLineMarkers interface.

Returns

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

Implements

Applies to