Partilhar via


Workspace.OnProjectReferenceAdded(ProjectId, ProjectReference) Método

Definição

Chame esse método quando uma referência de projeto for adicionada a um projeto no ambiente do host.

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)

Parâmetros

projectId
ProjectId
projectReference
ProjectReference

Aplica-se a