Workspace(HostServices, String) Constructor
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.
Constructs a new workspace instance.
protected:
Workspace(Microsoft::CodeAnalysis::Host::HostServices ^ host, System::String ^ workspaceKind);
protected Workspace (Microsoft.CodeAnalysis.Host.HostServices host, string workspaceKind);
protected Workspace (Microsoft.CodeAnalysis.Host.HostServices host, string? workspaceKind);
new Microsoft.CodeAnalysis.Workspace : Microsoft.CodeAnalysis.Host.HostServices * string -> Microsoft.CodeAnalysis.Workspace
Protected Sub New (host As HostServices, workspaceKind As String)
Parameters
- host
- HostServices
The HostServices this workspace uses
- workspaceKind
- String
A string that can be used to identify the kind of workspace. Usually this matches the name of the class.
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.