Workspace(HostServices, String) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Construit une nouvelle instance d’espace de travail.
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)
Paramètres
- host
- HostServices
Cet HostServices espace de travail utilise
- workspaceKind
- String
Chaîne qui peut être utilisée pour identifier le type d’espace de travail. Cela correspond généralement au nom de la classe.