IVsTextLayer.GetLineDataEx Method

Definition

Gets all line data.

public:
 int GetLineDataEx(System::UInt32 dwFlags, int iLine, int iStartIndex, int iEndIndex, cli::array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> ^ pLineData, cli::array <Microsoft::VisualStudio::TextManager::Interop::MARKERDATA> ^ pMarkerData);
int GetLineDataEx(unsigned int dwFlags, int iLine, int iStartIndex, int iEndIndex, std::Array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> const & pLineData, std::Array <Microsoft::VisualStudio::TextManager::Interop::MARKERDATA> const & pMarkerData);
public int GetLineDataEx (uint dwFlags, int iLine, int iStartIndex, int iEndIndex, Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] pLineData, Microsoft.VisualStudio.TextManager.Interop.MARKERDATA[] pMarkerData);
abstract member GetLineDataEx : uint32 * int * int * int * Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] * Microsoft.VisualStudio.TextManager.Interop.MARKERDATA[] -> int
Public Function GetLineDataEx (dwFlags As UInteger, iLine As Integer, iStartIndex As Integer, iEndIndex As Integer, pLineData As LINEDATAEX(), pMarkerData As MARKERDATA()) As Integer

Parameters

dwFlags
UInt32

[in] Flags that apply to line data.

iLine
Int32

[in] The line for which to get data.

iStartIndex
Int32

[in] The start index for getting data.

iEndIndex
Int32

[in] The end index for getting data.

pLineData
LINEDATAEX[]

[out] The line data obtained.

pMarkerData
MARKERDATA[]

[in] Marker data for the line.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayer::GetLineDataEx(  
   [in] DWORD dwFlags,  
   [in] long iLine,  
   [in] long iStartIndex,  
   [in] long iEndIndex,  
   [out] LINEDATAEX *pLineData,  
   [in] MARKERDATA *pMarkerData  
);  

Applies to