Condividi tramite


IVsTextImage2.GetEolLengthEx(LINEDATAEX[], UInt32) Method

Definition

Returns the length in characters of the end-of-line (EOL) 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.

piEolType
UInt32

[out] A uint valid member of EOLTYPE.

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 EOL marker in the text line pld.

Applies to