Click or drag to resize

WorkspaceOnDocumentClosing Method



Override this method to act immediately when a document is closing, as opposed to waiting for the corresponding workspace changed event to fire asynchronously.

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
protected virtual void OnDocumentClosing(
	DocumentId documentId
)

Parameters

documentId
Type: Microsoft.CodeAnalysisDocumentId
See Also