Share via


CollectionExpressionSyntax.WithElements Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax WithElements (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax> elements);
member this.WithElements : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.CollectionElementSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.CollectionExpressionSyntax
Public Function WithElements (elements As SeparatedSyntaxList(Of CollectionElementSyntax)) As CollectionExpressionSyntax

Parameters

Returns

Applies to