다음을 통해 공유


IVsTextLines2.GetEolLengthEx(LINEDATAEX[], UInt32) Method

Definition

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

Returns the length in characters of the end-of-line marker terminating the text line contained in pld. This method extends the IVsTextLines interface.

Applies to