共用方式為


DocumentTask.Span Property

Definition

Gets the span where the error occurred.

public:
 property Microsoft::VisualStudio::TextManager::Interop::TextSpan Span { Microsoft::VisualStudio::TextManager::Interop::TextSpan get(); };
public:
 property Microsoft::VisualStudio::TextManager::Interop::TextSpan Span { Microsoft::VisualStudio::TextManager::Interop::TextSpan get(); };
public Microsoft.VisualStudio.TextManager.Interop.TextSpan Span { get; }
member this.Span : Microsoft.VisualStudio.TextManager.Interop.TextSpan
Public ReadOnly Property Span As TextSpan

Property Value

A TextSpan object from the IVsTextLineMarker object that was passed to the DocumentTask class constructor, if it is non-null. Otherwise, the TextSpan object that was passed to the DocumentTask class constructor.

Applies to