EditSpan.LengthOfLastLine 属性

返回最后一行的长度在替换文本的。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)

语法

声明
Public ReadOnly Property LengthOfLastLine As Integer
public int LengthOfLastLine { get; }

属性值

类型:System.Int32
返回字符数在替换文本的最后一行中。

备注

此属性检查替换文本,考虑换行符,计算最后一行的长度。

.NET Framework 安全性

请参见

参考

EditSpan 类

Microsoft.VisualStudio.Package 命名空间