共用方式為


CSharpCompilation.WithScriptCompilationInfo Method

Definition

Returns a new compilation with the given compilation set as the previous submission.

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ WithScriptCompilationInfo(Microsoft::CodeAnalysis::CSharp::CSharpScriptCompilationInfo ^ info);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation WithScriptCompilationInfo (Microsoft.CodeAnalysis.CSharp.CSharpScriptCompilationInfo info);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation WithScriptCompilationInfo (Microsoft.CodeAnalysis.CSharp.CSharpScriptCompilationInfo? info);
override this.WithScriptCompilationInfo : Microsoft.CodeAnalysis.CSharp.CSharpScriptCompilationInfo -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function WithScriptCompilationInfo (info As CSharpScriptCompilationInfo) As CSharpCompilation

Parameters

Returns

Applies to