共用方式為


CollectionExpressionSyntax.AddElements(CollectionElementSyntax[]) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax AddElements (params Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax[] items);
member this.AddElements : Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax
Public Function AddElements (ParamArray items As CollectionElementSyntax()) As CollectionExpressionSyntax

Parameters

Returns

Applies to