共用方式為


AdhocWorkspace.AddSolution(SolutionInfo) 方法

定義

將整個解決方案新增至工作區,取代任何現有的解決方案。

public:
 Microsoft::CodeAnalysis::Solution ^ AddSolution(Microsoft::CodeAnalysis::SolutionInfo ^ solutionInfo);
public Microsoft.CodeAnalysis.Solution AddSolution (Microsoft.CodeAnalysis.SolutionInfo solutionInfo);
member this.AddSolution : Microsoft.CodeAnalysis.SolutionInfo -> Microsoft.CodeAnalysis.Solution
Public Function AddSolution (solutionInfo As SolutionInfo) As Solution

參數

solutionInfo
SolutionInfo

傳回

適用於