IVsTextStorage::Storage_GetLineDataEx Method (UInt32, Int32, Int32, Int32, array<LINEDATAEX>^)

 

Gets the line data.

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

int Storage_GetLineDataEx(
	unsigned int dwFlags,
	int iLine,
	int iStartIndex,
	int iEndIndex,
	array<LINEDATAEX>^ pLineData
)

Parameters

dwFlags
Type: System::UInt32

[in] Flags indicating line properties.

iLine
Type: System::Int32

[in] The line for which to get data.

iStartIndex
Type: System::Int32

[in] The start index in the line.

iEndIndex
Type: System::Int32

[in] The end index in the line.

pLineData
Type: array<Microsoft.VisualStudio.TextManager.Interop::LINEDATAEX>^

[out] The obtained line 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 IVsTextStorage::Storage_GetLineDataEx(
   [in] DWORD dwFlags,
   [in] long iLine,
   [in] long iStartIndex,
   [in] long iEndIndex,
   [out] LINEDATAEX * pLineData
);
Return to top
Show: