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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET