Click or drag to resize

WorkspaceOpenDocument Method



Open the specified document in the host environment.

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis.Workspaces (in Microsoft.CodeAnalysis.Workspaces.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public virtual void OpenDocument(
	DocumentId documentId,
	bool activate = true
)

Parameters

documentId
Type: Microsoft.CodeAnalysisDocumentId
activate (Optional)
Type: SystemBoolean
See Also