Compartir a través de


DocumentsExtensibility Class

Definition

Provides the surface area for document management.

public class DocumentsExtensibility : Microsoft.VisualStudio.Extensibility.ExtensibilityPoint
type DocumentsExtensibility = class
    inherit ExtensibilityPoint
Public Class DocumentsExtensibility
Inherits ExtensibilityPoint
Inheritance
DocumentsExtensibility

Constructors

DocumentsExtensibility(ExtensibilityPoint)

Initializes a new instance of the DocumentsExtensibility class.

Properties

IsDisposed

Gets a value indicating whether the object is disposed.

(Inherited from ExtensibilityPoint)
LocalServiceProvider

Gets the local service provider.

(Inherited from ExtensibilityPoint)
ResourceDictionary

Gets the resource dictionary instance for querying localized strings.

(Inherited from ExtensibilityPoint)
ServiceBroker

Gets the underlying service broker instance.

(Inherited from ExtensibilityPoint)
ServiceBrokerClient

Gets the service broker client instance that can be used to query for brokered services.

(Inherited from ExtensibilityPoint)
TraceSource

Gets the trace source instance to utilize for logging.

(Inherited from ExtensibilityPoint)

Methods

CloseDocumentAsync(Uri, SaveDocumentOption, CancellationToken)

Closes the tab(s) for the document specified by moniker.

Dispose() (Inherited from ExtensibilityPoint)
Dispose(Boolean)

Disposes the instane and underlying proxies.

(Inherited from ExtensibilityPoint)
GetOpenDocumentAsync(Uri, CancellationToken)

Returns the open document corresponding to moniker.

GetOpenDocumentsAsync(CancellationToken)

Returns a collection of the documents that are currently open.

GetTextDocumentSnapshotAsync(DocumentSnapshot, CancellationToken)

Gets a ITextDocumentSnapshot from an open document snapshot.

InitializeDocumentAsync(DocumentSnapshot, CancellationToken)

Ensures that an uninitialized document snapshot is initialized and gets the most recent snapshot.

OpenDocumentAsync(Uri, CancellationToken)

Opens the document identified by moniker.

OpenDocumentAsync(Uri, OpenDocumentOptions, CancellationToken)

Opens the document identified by moniker.

OpenTextDocumentAsync(Uri, CancellationToken)

Opens a new text document in IDE for an existing file.

OpenTextDocumentAsync(Uri, OpenDocumentOptions, CancellationToken)

Opens a new text document in IDE for an existing file.

SaveAllAsync(CancellationToken)

Saves all open documents that have unsaved changes.

SaveDocumentAsync(Uri, CancellationToken)

Saves the document specified by moniker.

SubscribeAsync(IDocumentEventsListener, String, CancellationToken)

Adds a listener for document events.

ThrowIfDisposed()

Throws if object is disposed.

(Inherited from ExtensibilityPoint)

Events

Disposing

Raised when object is being disposed.

(Inherited from ExtensibilityPoint)

Applies to