Project.AddProjectReferences(IEnumerable<ProjectReference>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立已更新此專案的新實例,以包含指定的專案參考,以及已經存在的專案參考。
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>