TextRange.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.
The ITextDocumentSnapshot to which this snapshot range refers.
public Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshot Document { get; }member this.Document : Microsoft.VisualStudio.Extensibility.Editor.ITextDocumentSnapshotPublic ReadOnly Property Document As ITextDocumentSnapshot