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

适用于