Поделиться через


Workspace.OnProjectReferenceAdded(ProjectId, ProjectReference) Метод

Определение

Вызовите этот метод, когда ссылка на проект добавляется в проект в среде узла.

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)

Параметры

projectId
ProjectId
projectReference
ProjectReference

Применяется к