Compartilhar via


Workspace.OnCompilationOptionsChanged(ProjectId, CompilationOptions) Método

Definição

Chame esse método quando as opções de compilação de um projeto forem alteradas no ambiente do host.

protected public:
 void OnCompilationOptionsChanged(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::CompilationOptions ^ options);
protected internal void OnCompilationOptionsChanged (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.CompilationOptions options);
member this.OnCompilationOptionsChanged : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.CompilationOptions -> unit
Protected Friend Sub OnCompilationOptionsChanged (projectId As ProjectId, options As CompilationOptions)

Parâmetros

projectId
ProjectId

Aplica-se a