共用方式為


CSharpScriptCompilationInfo.WithPreviousScriptCompilation Method

Definition

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

Parameters

compilation
CSharpCompilation

Returns

Applies to