CompilationOptions.WithPlatform(Platform) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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