共用方式為


Workspace.OnAdditionalDocumentRemoved(DocumentId) 方法

定義

從主環境中的專案移除其他檔時,請呼叫此方法。

protected public:
 void OnAdditionalDocumentRemoved(Microsoft::CodeAnalysis::DocumentId ^ documentId);
protected internal void OnAdditionalDocumentRemoved (Microsoft.CodeAnalysis.DocumentId documentId);
member this.OnAdditionalDocumentRemoved : Microsoft.CodeAnalysis.DocumentId -> unit
Protected Friend Sub OnAdditionalDocumentRemoved (documentId As DocumentId)

參數

documentId
DocumentId

適用於