Freigeben über


Project.WithProjectReferences(IEnumerable<ProjectReference>) Methode

Definition

Erstellt eine neue Instanz dieses Projekts, die aktualisiert wird, um vorhandene Projektbezüge durch die angegebenen zu ersetzen.

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

Parameter

projectReferences
IEnumerable<ProjectReference>

Gibt zurück

Gilt für: