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

返回

适用于