Workspace.CurrentSolution Property
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.
The current solution.
The solution is an immutable model of the current set of projects and source documents. It provides access to source text, syntax trees and semantics.
This property may change as the workspace reacts to changes in the environment or after TryApplyChanges(Solution) is called.
public:
property Microsoft::CodeAnalysis::Solution ^ CurrentSolution { Microsoft::CodeAnalysis::Solution ^ get(); };
public Microsoft.CodeAnalysis.Solution CurrentSolution { get; }
member this.CurrentSolution : Microsoft.CodeAnalysis.Solution
Public ReadOnly Property CurrentSolution As Solution
Property Value
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.