Share via


VisualBasicCompilationOptions.WithPlatform(Platform) Method

Definition

Creates a new VisualBasicCompilationOptions instance with a different platform specified.

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

Parameters

value
Platform

The platform setting. Platform

Returns

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

Applies to