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>

返回

适用于