DocumentTask.Span 属性

获取错误生成的大小。

命名空间:  Microsoft.VisualStudio.Package
程序集:   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 中)
  Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)

语法

声明
Public ReadOnly Property Span As TextSpan
public TextSpan Span { get; }

属性值

类型:Microsoft.VisualStudio.TextManager.Interop.TextSpan
从传递给 DocumentTask 类构造函数的 IVsTextLineMarker 对象的一 TextSpan 对象,则为; 如果是非nullnull 引用(在 Visual Basic 中为 Nothing)。否则,传递给 DocumentTask 类构造函数的 TextSpan 对象。

.NET Framework 安全性

请参见

参考

DocumentTask 类

Microsoft.VisualStudio.Package 命名空间