IVsTextStorage2.GetEolTextEx(LINEDATAEX[], String) 方法

定义

返回一个字符串,该字符串包含终止文本行 (EOL) 标记的行尾。

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

参数

pld
LINEDATAEX[]

中一个 LINEDATAEX 包含文本行的结构。

pbstrEolText
String

弄一个字符串,包含行尾 (EOL) 标记的文本。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

GetEolTextEx 从中包含的文本行返回行尾 (EOL) 标记 pld 。 此方法扩展 IVsTextStorage 接口。

适用于