Share via


VisualBasicCompilationOptions.WithOutputKind(OutputKind) Method

Definition

Creates a new VisualBasicCompilationOptions instance with a different OutputKind specified.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithOutputKind(Microsoft::CodeAnalysis::OutputKind kind);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithOutputKind (Microsoft.CodeAnalysis.OutputKind kind);
override this.WithOutputKind : Microsoft.CodeAnalysis.OutputKind -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithOutputKind (kind As OutputKind) As VisualBasicCompilationOptions

Parameters

kind
OutputKind

The Output Kind.

Returns

A new instance of VisualBasicCompilationOptions, if the output kind is different; otherwise current instance.

Applies to