Workspace.OpenDocument(DocumentId, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Open the specified document in the host environment.
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)
Parameters
- documentId
- DocumentId
- activate
- Boolean
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.