Share via


VisualBasicCompilationOptions.WithEmbedVbCoreRuntime(Boolean) Method

Definition

Creates a new VisualBasicCompilationOptions instance with a different Embed VB Core Runtime specified.

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

Parameters

value
Boolean

The Embed VB Core Runtime setting.

Returns

A new instance of VisualBasicCompilationOptions, if the embed vb core runtime is different; otherwise current instance.

Applies to