Compartir a través de


VisualBasicCompilationOptions.WithOptimizationLevel(OptimizationLevel) Método

Definición

Crea una nueva VisualBasicCompilationOptions instancia con un especificado OptimizationLevel.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithOptimizationLevel(Microsoft::CodeAnalysis::OptimizationLevel value);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithOptimizationLevel (Microsoft.CodeAnalysis.OptimizationLevel value);
override this.WithOptimizationLevel : Microsoft.CodeAnalysis.OptimizationLevel -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithOptimizationLevel (value As OptimizationLevel) As VisualBasicCompilationOptions

Parámetros

Devoluciones

Nueva instancia de VisualBasicCompilationOptions, si el valor es diferente; de lo contrario, la instancia actual.

Se aplica a