Partilhar via


Project.AddProjectReference(ProjectReference) Método

Definição

Cria uma nova instância deste projeto atualizada para incluir a referência de projeto especificada, além das já existentes.

public:
 Microsoft::CodeAnalysis::Project ^ AddProjectReference(Microsoft::CodeAnalysis::ProjectReference ^ projectReference);
public Microsoft.CodeAnalysis.Project AddProjectReference (Microsoft.CodeAnalysis.ProjectReference projectReference);
member this.AddProjectReference : Microsoft.CodeAnalysis.ProjectReference -> Microsoft.CodeAnalysis.Project
Public Function AddProjectReference (projectReference As ProjectReference) As Project

Parâmetros

projectReference
ProjectReference

Retornos

Aplica-se a