IVsTextStorage2.GetEolLengthEx(LINEDATAEX[], UInt32) 方法

定义

返回文本行的行尾标记的长度(字符)。

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 包含文本行的结构。

piEolType
UInt32

弄的 uint 成员 EOLTYPE 。 请注意, EOLTYPE 已通过进行扩展 _EOLTYPE2

返回

Int32

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

注解

GetEolLengthEx 返回终止中包含的文本行的行尾标记的长度(以字符为限) pld 。 此方法扩展 IVsTextStorage 接口。

适用于