VsTextBufferClass::GetMarkerData Method (Int32, Int32, array<MARKERDATA>^)

 

Returns text marker data for the specified line range within the text buffer.

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

public:
virtual int GetMarkerData(
	int iTopLine,
	int iBottomLine,
	array<MARKERDATA>^ pMarkerData
)

Parameters

iTopLine
Type: System::Int32

[in] Top line of the marker data.

iBottomLine
Type: System::Int32

[in] Bottom line of the marker data.

pMarkerData
Type: array<Microsoft.VisualStudio.TextManager.Interop::MARKERDATA>^

[out] Pointer to filled MARKERDATA structure for the range indicated.

Return Value

Type: System::Int32

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

Return to top
Show: