Compartilhar via


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

Definição

Cria uma nova instância deste projeto atualizada para substituir as referências de projeto existentes pelas especificadas.

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

Parâmetros

projectReferences
IEnumerable<ProjectReference>

Retornos

Aplica-se a