共用方式為


InterpolatedStringExpressionSyntax.AddContents Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::InterpolatedStringExpressionSyntax ^ AddContents(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::InterpolatedStringContentSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringExpressionSyntax AddContents (params Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringContentSyntax[] items);
member this.AddContents : Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringContentSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringExpressionSyntax
Public Function AddContents (ParamArray items As InterpolatedStringContentSyntax()) As InterpolatedStringExpressionSyntax

Parameters

Returns

Applies to