Share via


Workspace.ClearDocumentData(DocumentId) Method

Definition

This method is called to clear an individual document is removed.

Override this method if you want to do additional work when a document is removed. Call the base method at the end of your method.

protected:
 virtual void ClearDocumentData(Microsoft::CodeAnalysis::DocumentId ^ documentId);
protected internal virtual void ClearDocumentData (Microsoft.CodeAnalysis.DocumentId documentId);
abstract member ClearDocumentData : Microsoft.CodeAnalysis.DocumentId -> unit
override this.ClearDocumentData : Microsoft.CodeAnalysis.DocumentId -> unit
Protected Friend Overridable Sub ClearDocumentData (documentId As DocumentId)

Parameters

documentId
DocumentId

Applies to