Share via


CompilationOptions.WithPlatform(Platform) Method

Definition

Creates a new options instance with the specified platform.

public:
 Microsoft::CodeAnalysis::CompilationOptions ^ WithPlatform(Microsoft::CodeAnalysis::Platform platform);
public Microsoft.CodeAnalysis.CompilationOptions WithPlatform (Microsoft.CodeAnalysis.Platform platform);
member this.WithPlatform : Microsoft.CodeAnalysis.Platform -> Microsoft.CodeAnalysis.CompilationOptions
Public Function WithPlatform (platform As Platform) As CompilationOptions

Parameters

platform
Platform

Returns

Applies to