IVsTextStorage2.GetEolLengthEx(LINEDATAEX[], UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the length in characters of the text line's end-of-line marker.
public:
int GetEolLengthEx(cli::array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> ^ pld, [Runtime::InteropServices::Out] System::UInt32 % piEolType);
int GetEolLengthEx(std::Array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> const & pld, [Runtime::InteropServices::Out] unsigned int & piEolType);
public int GetEolLengthEx (Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] pld, out uint piEolType);
abstract member GetEolLengthEx : Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] * uint32 -> int
Public Function GetEolLengthEx (pld As LINEDATAEX(), ByRef piEolType As UInteger) As Integer
Parameters
- pld
- LINEDATAEX[]
[in] A LINEDATAEX structure containing the text line.
- piEolType
- UInt32
[out] A uint member of EOLTYPE. Note that EOLTYPE has been extended with _EOLTYPE2.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
GetEolLengthEx returns the length in characters of the end-of-line marker terminating the text line contained in pld
. This method extends the IVsTextStorage interface.