Workspace.ApplyAdditionalDocumentRemoved(DocumentId) 方法

定义

此方法是在从项目中删除其他文档的过程中 TryApplyChanges(Solution) 调用的。

重写此方法以实现删除其他文档的功能。

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

参数

documentId
DocumentId

适用于