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

适用于