次の方法で共有


IVsTextStorage2.GetEolTextEx(LINEDATAEX[], String) Method

Definition

Returns a string containing the end-of-line (EOL) marker terminating the text line.

public:
 int GetEolTextEx(cli::array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> ^ pld, [Runtime::InteropServices::Out] System::String ^ % pbstrEolText);
int GetEolTextEx(std::Array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> const & pld, [Runtime::InteropServices::Out] std::wstring const & & pbstrEolText);
public int GetEolTextEx (Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] pld, out string pbstrEolText);
abstract member GetEolTextEx : Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] * string -> int
Public Function GetEolTextEx (pld As LINEDATAEX(), ByRef pbstrEolText As String) As Integer

Parameters

pld
LINEDATAEX[]

[in] A LINEDATAEX structure containing the text line.

pbstrEolText
String

[out] A string containing the text of the end-of-line (EOL) marker.

Returns

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

Remarks

GetEolTextEx returns the end-of-line (EOL) marker from the text line contained in pld. This method extends the IVsTextStorage interface.

Applies to