DocumentExtensions Class

Definition

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.

Applies to