IVsTextLayer2::GetEolLengthEx Method (array<LINEDATAEX>^, UInt32)

 

Returns the length in characters of the text line's end-of-line marker.

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

int GetEolLengthEx(
	array<LINEDATAEX>^ pld,
	[OutAttribute] unsigned int% piEolType
)

Parameters

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

[in] A LINEDATAEX structure containing the text line.

piEolType
Type: System::UInt32

[out] A uint member of EOLTYPE. Note that EOLTYPE has been extended with _EOLTYPE2.

Return Value

Type: System::Int32

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

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

Return to top
Show: