共用方式為


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

適用於