共用方式為


VsTextBufferClass.GetMarkerData(Int32, Int32, MARKERDATA[]) Method

Definition

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

public:
 virtual int GetMarkerData(int iTopLine, int iBottomLine, cli::array <Microsoft::VisualStudio::TextManager::Interop::MARKERDATA> ^ pMarkerData) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetMarkerData;
public:
 virtual int GetMarkerData(int iTopLine, int iBottomLine, cli::array <Microsoft::VisualStudio::TextManager::Interop::MARKERDATA> ^ pMarkerData);
 virtual int GetMarkerData(int iTopLine, int iBottomLine, std::Array <Microsoft::VisualStudio::TextManager::Interop::MARKERDATA> const & pMarkerData);
public virtual int GetMarkerData (int iTopLine, int iBottomLine, Microsoft.VisualStudio.TextManager.Interop.MARKERDATA[] pMarkerData);
abstract member GetMarkerData : int * int * Microsoft.VisualStudio.TextManager.Interop.MARKERDATA[] -> int
override this.GetMarkerData : int * int * Microsoft.VisualStudio.TextManager.Interop.MARKERDATA[] -> int
Public Overridable Function GetMarkerData (iTopLine As Integer, iBottomLine As Integer, pMarkerData As MARKERDATA()) As Integer

Parameters

iTopLine
Int32

[in] Top line of the marker data.

iBottomLine
Int32

[in] Bottom line of the marker data.

pMarkerData
MARKERDATA[]

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

Returns

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

Implements

Applies to