Workspace.OnProjectAdded(ProjectInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.