共用方式為


Project.WithCompilationOptions(CompilationOptions) 方法

定義

建立此專案的新實例更新為具有指定的編譯選項。

public:
 Microsoft::CodeAnalysis::Project ^ WithCompilationOptions(Microsoft::CodeAnalysis::CompilationOptions ^ options);
public Microsoft.CodeAnalysis.Project WithCompilationOptions (Microsoft.CodeAnalysis.CompilationOptions options);
member this.WithCompilationOptions : Microsoft.CodeAnalysis.CompilationOptions -> Microsoft.CodeAnalysis.Project
Public Function WithCompilationOptions (options As CompilationOptions) As Project

參數

傳回

適用於