Workspace.ApplyProjectAdded(ProjectInfo) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Cette méthode est appelée pendant TryApplyChanges(Solution) l’ajout d’un projet à la solution actuelle.
Remplacez cette méthode pour implémenter la fonctionnalité d’ajout de projets.
protected:
virtual void ApplyProjectAdded(Microsoft::CodeAnalysis::ProjectInfo ^ project);
protected virtual void ApplyProjectAdded(Microsoft.CodeAnalysis.ProjectInfo project);
abstract member ApplyProjectAdded : Microsoft.CodeAnalysis.ProjectInfo -> unit
override this.ApplyProjectAdded : Microsoft.CodeAnalysis.ProjectInfo -> unit
Protected Overridable Sub ApplyProjectAdded (project As ProjectInfo)
Paramètres
- project
- ProjectInfo