共用方式為


CompilationOptions.OptimizationLevel 屬性

定義

指定是否應在輸出 IL 上執行優化。 這與是否產生 PDB 資訊無關。

public:  property Microsoft::CodeAnalysis::OptimizationLevel OptimizationLevel {  public:
Microsoft::CodeAnalysis::OptimizationLevel get(); protected:
 void set(Microsoft::CodeAnalysis::OptimizationLevel value); };
public Microsoft.CodeAnalysis.OptimizationLevel OptimizationLevel { get; protected set; }
member this.OptimizationLevel : Microsoft.CodeAnalysis.OptimizationLevel with get, set
Public Property OptimizationLevel As OptimizationLevel

屬性值

適用於