Aracılığıyla paylaş


Workspace.SetCurrentSolution(Solution) Method

Definition

Sets the CurrentSolution of this workspace. This method does not raise a WorkspaceChanged event.

protected:
 Microsoft::CodeAnalysis::Solution ^ SetCurrentSolution(Microsoft::CodeAnalysis::Solution ^ solution);
protected Microsoft.CodeAnalysis.Solution SetCurrentSolution (Microsoft.CodeAnalysis.Solution solution);
member this.SetCurrentSolution : Microsoft.CodeAnalysis.Solution -> Microsoft.CodeAnalysis.Solution
Protected Function SetCurrentSolution (solution As Solution) As Solution

Parameters

solution
Solution

Returns

Remarks

This method does not guarantee that linked files will have the same contents. Callers should enforce that policy before passing in the new solution.

Applies to