共用方式為


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

適用於