Freigeben über


Workspace.OpenDocument(DocumentId, Boolean) Methode

Definition

Öffnen Sie das angegebene Dokument in der Hostumgebung.

public virtual void OpenDocument (Microsoft.CodeAnalysis.DocumentId documentId, bool activate = true);
abstract member OpenDocument : Microsoft.CodeAnalysis.DocumentId * bool -> unit
override this.OpenDocument : Microsoft.CodeAnalysis.DocumentId * bool -> unit
Public Overridable Sub OpenDocument (documentId As DocumentId, Optional activate As Boolean = true)

Parameter

documentId
DocumentId
activate
Boolean

Gilt für: