Compilation.WithOptions(CompilationOptions) 方法

定义

使用指定的编译选项创建新的编译。

public:
 Microsoft::CodeAnalysis::Compilation ^ WithOptions(Microsoft::CodeAnalysis::CompilationOptions ^ options);
public Microsoft.CodeAnalysis.Compilation WithOptions (Microsoft.CodeAnalysis.CompilationOptions options);
member this.WithOptions : Microsoft.CodeAnalysis.CompilationOptions -> Microsoft.CodeAnalysis.Compilation
Public Function WithOptions (options As CompilationOptions) As Compilation

参数

options
CompilationOptions

新选项。

返回

新的编译。

适用于