共用方式為


Workspace.OpenAdditionalDocument(DocumentId, Boolean) 方法

定義

在主機環境中開啟指定的其他檔。

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

參數

documentId
DocumentId
activate
Boolean

適用於