Delen via


Workspace.OnCompilationOptionsChanged(ProjectId, CompilationOptions) Method

Definition

Call this method when a project's compilation options are changed in the host environment.

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)

Parameters

projectId
ProjectId

Applies to