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

 

Gets the marker data of the specified line span.

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

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

Parameters

iTopLine
Type: System::Int32

[in] The top line.

iBottomLine
Type: System::Int32

[in] The bottom line.

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

[out] The marker data.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextLayer::GetMarkerData(
   [in] long iTopLine,
   [in] long iBottomLine,
   [out] MARKERDATA *pMarkerData
);
Return to top
Show: