Share via


WorkspaceChangeEventArgs.OldSolution Property

Definition

public:
 property Microsoft::CodeAnalysis::Solution ^ OldSolution { Microsoft::CodeAnalysis::Solution ^ get(); };
public Microsoft.CodeAnalysis.Solution OldSolution { get; }
member this.OldSolution : Microsoft.CodeAnalysis.Solution
Public ReadOnly Property OldSolution As Solution

Property Value

Remarks

If linked documents are being changed, there may be multiple events with the same OldSolution and NewSolution. Note that the workspace starts with its solution set to an empty solution. SolutionAdded replaces the previous solution, which might be the empty one.

Applies to