DocumentExtensions Class
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.
Extension methods for DocumentSnapshot objects.
public static class DocumentExtensions
type DocumentExtensions = class
Public Module DocumentExtensions
- Inheritance
-
DocumentExtensions
Methods
AsTextDocumentAsync(DocumentSnapshot, VisualStudioExtensibility, CancellationToken) |
Gets a ITextDocumentSnapshot from an open document snapshot. |
CloseAsync(DocumentSnapshot, SaveDocumentOption, VisualStudioExtensibility, CancellationToken) |
Closes the view(s) for a DocumentSnapshot. |
SaveAsync(DocumentSnapshot, VisualStudioExtensibility, CancellationToken) |
Saves the contents of a DocumentSnapshot. |