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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.