IVsTextStorage2.GetEolLengthEx(LINEDATAEX[], UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回文本行的行尾标记的长度(字符)。
public:
int GetEolLengthEx(cli::array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> ^ pld, [Runtime::InteropServices::Out] System::UInt32 % piEolType);
int GetEolLengthEx(std::Array <Microsoft::VisualStudio::TextManager::Interop::LINEDATAEX> const & pld, [Runtime::InteropServices::Out] unsigned int & piEolType);
public int GetEolLengthEx (Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] pld, out uint piEolType);
abstract member GetEolLengthEx : Microsoft.VisualStudio.TextManager.Interop.LINEDATAEX[] * uint32 -> int
Public Function GetEolLengthEx (pld As LINEDATAEX(), ByRef piEolType As UInteger) As Integer
参数
- pld
- LINEDATAEX[]
中一个 LINEDATAEX 包含文本行的结构。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
GetEolLengthEx 返回终止中包含的文本行的行尾标记的长度(以字符为限) pld 。 此方法扩展 IVsTextStorage 接口。