共用方式為


GeneratorDriver.AddAdditionalTexts 方法

定義

public Microsoft.CodeAnalysis.GeneratorDriver AddAdditionalTexts (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> additionalTexts);
member this.AddAdditionalTexts : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AdditionalText> -> Microsoft.CodeAnalysis.GeneratorDriver
Public Function AddAdditionalTexts (additionalTexts As ImmutableArray(Of AdditionalText)) As GeneratorDriver

參數

additionalTexts
ImmutableArray<AdditionalText>

傳回

適用於