Partager via


Workspace.OnProjectReferenceAdded(ProjectId, ProjectReference) Méthode

Définition

Appelez cette méthode lorsqu’une référence de projet est ajoutée à un projet dans l’environnement hôte.

protected public:
 void OnProjectReferenceAdded(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
protected internal void OnProjectReferenceAdded (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.OnProjectReferenceAdded : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ProjectReference -> unit
Protected Friend Sub OnProjectReferenceAdded (projectId As ProjectId, projectReference As ProjectReference)

Paramètres

projectId
ProjectId
projectReference
ProjectReference

S’applique à