共用方式為


Workspace.ApplyParseOptionsChanged(ProjectId, ParseOptions) 方法

定義

這個方法會在 期間 TryApplyChanges(Solution) 呼叫,以變更剖析選項。

覆寫此方法以實作變更剖析選項的功能。

protected:
 virtual void ApplyParseOptionsChanged(Microsoft::CodeAnalysis::ProjectId ^ projectId, Microsoft::CodeAnalysis::ParseOptions ^ options);
protected virtual void ApplyParseOptionsChanged (Microsoft.CodeAnalysis.ProjectId projectId, Microsoft.CodeAnalysis.ParseOptions options);
abstract member ApplyParseOptionsChanged : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ParseOptions -> unit
override this.ApplyParseOptionsChanged : Microsoft.CodeAnalysis.ProjectId * Microsoft.CodeAnalysis.ParseOptions -> unit
Protected Overridable Sub ApplyParseOptionsChanged (projectId As ProjectId, options As ParseOptions)

參數

projectId
ProjectId
options
ParseOptions

適用於