IVsTextStorage2.GetEolTextEx(LINEDATAEX[], String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个字符串,该字符串包含终止文本行 (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) 标记的文本。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
GetEolTextEx 从中包含的文本行返回行尾 (EOL) 标记 pld 。 此方法扩展 IVsTextStorage 接口。