Partilhar via


IPersistentSpan.Document Property

Definition

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.

Applies to