共用方式為


Workspace.OnSolutionAdded(SolutionInfo) 方法

定義

呼叫這個方法,以回應在主機環境中開啟的解決方案。

protected public:
 void OnSolutionAdded(Microsoft::CodeAnalysis::SolutionInfo ^ solutionInfo);
protected internal void OnSolutionAdded (Microsoft.CodeAnalysis.SolutionInfo solutionInfo);
member this.OnSolutionAdded : Microsoft.CodeAnalysis.SolutionInfo -> unit
Protected Friend Sub OnSolutionAdded (solutionInfo As SolutionInfo)

參數

solutionInfo
SolutionInfo

適用於