Workspace.SetCurrentSolution(Solution) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.