다음을 통해 공유


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

적용 대상