Share via


AdhocWorkspace.AddSolution(SolutionInfo) Method

Definition

Adds an entire solution to the workspace, replacing any existing solution.

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

Parameters

solutionInfo
SolutionInfo

Returns

Applies to