Freigeben über


Workspace.CloseDocument(DocumentId) Methode

Definition

Schließen Sie das angegebene Dokument in der Hostumgebung.

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

Parameter

documentId
DocumentId

Gilt für: