共用方式為


IVsTextStorage2.GetEolTypeEx(LINEDATAEX[], UInt32) Method

Definition

Returns the EOLTYPE of the text line's end-of-line marker.

public:
 int GetEolTypeEx(cli::array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> ^ pld, [Runtime::InteropServices::Out] System::UInt32 % piEolType);
int GetEolTypeEx(std::Array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> const & pld, [Runtime::InteropServices::Out] unsigned int & piEolType);
public int GetEolTypeEx (Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] pld, out uint piEolType);
abstract member GetEolTypeEx : Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] * uint32 -> int
Public Function GetEolTypeEx (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

GetEolTypeEx returns the EOLTYPE of the end-of-line marker terminating the text line contained in pld. This method extends the IVsTextStorage interface.

Applies to