IPersistentSpan.Document Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the span's ITextDocument if the underlying document is open (and null if the document is closed).
public:
property Microsoft::VisualStudio::Text::ITextDocument ^ Document { Microsoft::VisualStudio::Text::ITextDocument ^ get(); };
public Microsoft.VisualStudio.Text.ITextDocument Document { get; }
member this.Document : Microsoft.VisualStudio.Text.ITextDocument
Public ReadOnly Property Document As ITextDocument
Property Value
The span's ITextDocument if the underlying document is open, or null if the document is closed.