Workspace.OnProjectAdded(ProjectInfo) Method

Definition

Call this method to respond to a project being added/opened in the host environment.

protected public:
 void OnProjectAdded(Microsoft::CodeAnalysis::ProjectInfo ^ projectInfo);
protected internal void OnProjectAdded (Microsoft.CodeAnalysis.ProjectInfo projectInfo);
member this.OnProjectAdded : Microsoft.CodeAnalysis.ProjectInfo -> unit
Protected Friend Sub OnProjectAdded (projectInfo As ProjectInfo)

Parameters

projectInfo
ProjectInfo

Applies to