共用方式為


ScriptCompilationInfo.WithPreviousScriptCompilation(Compilation) 方法

定義

public:
 Microsoft::CodeAnalysis::ScriptCompilationInfo ^ WithPreviousScriptCompilation(Microsoft::CodeAnalysis::Compilation ^ compilation);
public Microsoft.CodeAnalysis.ScriptCompilationInfo WithPreviousScriptCompilation (Microsoft.CodeAnalysis.Compilation compilation);
public Microsoft.CodeAnalysis.ScriptCompilationInfo WithPreviousScriptCompilation (Microsoft.CodeAnalysis.Compilation? compilation);
member this.WithPreviousScriptCompilation : Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.ScriptCompilationInfo
Public Function WithPreviousScriptCompilation (compilation As Compilation) As ScriptCompilationInfo

參數

compilation
Compilation

傳回

適用於