共用方式為


GeneratorDriver.ReplaceAdditionalText(AdditionalText, AdditionalText) 方法

定義

public Microsoft.CodeAnalysis.GeneratorDriver ReplaceAdditionalText (Microsoft.CodeAnalysis.AdditionalText oldText, Microsoft.CodeAnalysis.AdditionalText newText);
member this.ReplaceAdditionalText : Microsoft.CodeAnalysis.AdditionalText * Microsoft.CodeAnalysis.AdditionalText -> Microsoft.CodeAnalysis.GeneratorDriver
Public Function ReplaceAdditionalText (oldText As AdditionalText, newText As AdditionalText) As GeneratorDriver

參數

oldText
AdditionalText
newText
AdditionalText

傳回

適用於