共用方式為


Workspace.CreateSolution 方法

定義

多載

CreateSolution(SolutionId)

建立與此工作區相關聯的新空白解決方案實例。

CreateSolution(SolutionInfo)

建立與此工作區相關聯的新空白解決方案實例。

CreateSolution(SolutionId)

Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs

建立與此工作區相關聯的新空白解決方案實例。

protected public:
 Microsoft::CodeAnalysis::Solution ^ CreateSolution(Microsoft::CodeAnalysis::SolutionId ^ id);
protected internal Microsoft.CodeAnalysis.Solution CreateSolution (Microsoft.CodeAnalysis.SolutionId id);
member this.CreateSolution : Microsoft.CodeAnalysis.SolutionId -> Microsoft.CodeAnalysis.Solution
Protected Friend Function CreateSolution (id As SolutionId) As Solution

參數

傳回

適用於

CreateSolution(SolutionInfo)

Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs
Source:
Workspace.cs

建立與此工作區相關聯的新空白解決方案實例。

protected public:
 Microsoft::CodeAnalysis::Solution ^ CreateSolution(Microsoft::CodeAnalysis::SolutionInfo ^ solutionInfo);
protected internal Microsoft.CodeAnalysis.Solution CreateSolution (Microsoft.CodeAnalysis.SolutionInfo solutionInfo);
member this.CreateSolution : Microsoft.CodeAnalysis.SolutionInfo -> Microsoft.CodeAnalysis.Solution
Protected Friend Function CreateSolution (solutionInfo As SolutionInfo) As Solution

參數

solutionInfo
SolutionInfo

傳回

適用於