次の方法で共有


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

適用対象