Udostępnij za pośrednictwem


Workspace.CurrentSolution Property

Definition

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