共用方式為


IVsTextStorage.Storage_GetLineDataEx Method

Definition

Gets the line data.

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

Parameters

dwFlags
UInt32

[in] Flags indicating line properties.

iLine
Int32

[in] The line for which to get data.

iStartIndex
Int32

[in] The start index in the line.

iEndIndex
Int32

[in] The end index in the line.

pLineData
LINEDATAEX[]

[out] The obtained line data.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStorage::Storage_GetLineDataEx(  
   [in] DWORD dwFlags,  
   [in] long iLine,  
   [in] long iStartIndex,  
   [in] long iEndIndex,  
   [out] LINEDATAEX * pLineData  
);  

Applies to