共用方式為


Project.AddProjectReferences(IEnumerable<ProjectReference>) 方法

定義

建立已更新此專案的新實例,以包含指定的專案參考,以及已經存在的專案參考。

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

參數

projectReferences
IEnumerable<ProjectReference>

傳回

適用於