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

适用于