Partager via


Project.WithProjectReferences(IEnumerable<ProjectReference>) Méthode

Définition

Crée une instance de ce projet mise à jour pour remplacer les références de projet existantes par celles spécifiées.

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

Paramètres

projectReferences
IEnumerable<ProjectReference>

Retours

S’applique à