共用方式為


ProjectInfo.WithCompilationOptions(CompilationOptions) Method

Definition

public:
 Microsoft::CodeAnalysis::ProjectInfo ^ WithCompilationOptions(Microsoft::CodeAnalysis::CompilationOptions ^ compilationOptions);
public Microsoft.CodeAnalysis.ProjectInfo WithCompilationOptions (Microsoft.CodeAnalysis.CompilationOptions compilationOptions);
public Microsoft.CodeAnalysis.ProjectInfo WithCompilationOptions (Microsoft.CodeAnalysis.CompilationOptions? compilationOptions);
member this.WithCompilationOptions : Microsoft.CodeAnalysis.CompilationOptions -> Microsoft.CodeAnalysis.ProjectInfo
Public Function WithCompilationOptions (compilationOptions As CompilationOptions) As ProjectInfo

Parameters

compilationOptions
CompilationOptions

Returns

Applies to