共用方式為


Workspace.OnDocumentRemoved(DocumentId) 方法

定義

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

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

參數

documentId
DocumentId

適用於