Freigeben über


Workspace.OnProjectReferenceAdded(ProjectId, ProjectReference) Methode

Definition

Rufen Sie diese Methode auf, wenn ein Projektverweis zu einem Projekt in der Hostumgebung hinzugefügt wird.

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)

Parameter

projectId
ProjectId
projectReference
ProjectReference

Gilt für: