VsTextBufferClass::EnumMarkers Method (Int32, Int32, Int32, Int32, Int32, UInt32, IVsEnumLineMarkers^)

 

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

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

public:
virtual int EnumMarkers(
	int iStartLine,
	int iStartIndex,
	int iEndLine,
	int iEndIndex,
	int iMarkerType,
	unsigned int dwFlags,
	[OutAttribute] IVsEnumLineMarkers^% ppEnum
)

Parameters

iStartLine
Type: System::Int32

[in] Starting line.

iStartIndex
Type: System::Int32

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

iEndLine
Type: System::Int32

[in] Ending line.

iEndIndex
Type: System::Int32

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

iMarkerType
Type: System::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
Type: System::UInt32

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

ppEnum
Type: Microsoft.VisualStudio.TextManager.Interop::IVsEnumLineMarkers^

[out] Pointer to the IVsEnumLineMarkers interface.

Return Value

Type: System::Int32

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

Return to top
Show: