Workspace.CloseAdditionalDocument(DocumentId) 方法

定义

关闭主机环境中的指定附加文档。

public:
 virtual void CloseAdditionalDocument(Microsoft::CodeAnalysis::DocumentId ^ documentId);
public virtual void CloseAdditionalDocument (Microsoft.CodeAnalysis.DocumentId documentId);
abstract member CloseAdditionalDocument : Microsoft.CodeAnalysis.DocumentId -> unit
override this.CloseAdditionalDocument : Microsoft.CodeAnalysis.DocumentId -> unit
Public Overridable Sub CloseAdditionalDocument (documentId As DocumentId)

参数

documentId
DocumentId

适用于