次の方法で共有


Project.WithProjectReferences(IEnumerable<ProjectReference>) メソッド

定義

既存のプロジェクト参照を指定した参照に置き換えるために更新された、このプロジェクトの新しいインスタンスを作成します。

public:
 Microsoft::CodeAnalysis::Project ^ WithProjectReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::ProjectReference ^> ^ projectReferences);
public Microsoft.CodeAnalysis.Project WithProjectReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.ProjectReference> projectReferences);
member this.WithProjectReferences : seq<Microsoft.CodeAnalysis.ProjectReference> -> Microsoft.CodeAnalysis.Project
Public Function WithProjectReferences (projectReferences As IEnumerable(Of ProjectReference)) As Project

パラメーター

projectReferences
IEnumerable<ProjectReference>

戻り値

適用対象