Condividi tramite


Workspace.OnProjectReferenceAdded(ProjectId, ProjectReference) Metodo

Definizione

Chiamare questo metodo quando un riferimento al progetto viene aggiunto a un progetto nell'ambiente 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)

Parametri

projectId
ProjectId
projectReference
ProjectReference

Si applica a