共用方式為


Workspace(HostServices, String) 建構函式

定義

建構新的工作區實例。

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)

參數

host
HostServices

HostServices此工作區使用

workspaceKind
String

可用來識別工作區類型的字串。 這通常符合 類別的名稱。

適用於