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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.