Condividi tramite


Solution.WithProjectCompilationOptions(ProjectId, CompilationOptions) Metodo

Definizione

Creare una nuova istanza della soluzione con il progetto specificato aggiornato per avere le opzioni di compilazione specificate.

public:
 Microsoft::CodeAnalysis::Solution ^ WithProjectCompilationOptions(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::CompilationOptions ^ options);
public Microsoft.CodeAnalysis.Solution WithProjectCompilationOptions (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.CompilationOptions options);
member this.WithProjectCompilationOptions : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.CompilationOptions -> Microsoft.CodeAnalysis.Solution
Public Function WithProjectCompilationOptions (projectId As ProjectId, options As CompilationOptions) As Solution

Parametri

projectId
ProjectId

Restituisce

Si applica a