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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.