Udostępnij za pośrednictwem


VisualBasicCompilationOptions.WithOptionInfer(Boolean) Method

Definition

Creates a new VisualBasicCompilationOptions instance with a different option infer specified.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithOptionInfer(bool value);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithOptionInfer (bool value);
member this.WithOptionInfer : bool -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithOptionInfer (value As Boolean) As VisualBasicCompilationOptions

Parameters

value
Boolean

The Option infer setting.

Returns

A new instance of VisualBasicCompilationOptions, if the option infer is different; otherwise current instance.

Applies to