Workspace.ClearDocumentData(DocumentId) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.