Share via


SeparatedSyntaxList<TNode>.AddRange(IEnumerable<TNode>) Method

Definition

Creates a new list with the specified nodes added to the end.

public:
 Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> AddRange(System::Collections::Generic::IEnumerable<TNode> ^ nodes);
public Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> AddRange (System.Collections.Generic.IEnumerable<TNode> nodes);
member this.AddRange : seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)>
Public Function AddRange (nodes As IEnumerable(Of TNode)) As SeparatedSyntaxList(Of TNode)

Parameters

nodes
IEnumerable<TNode>

The nodes to add.

Returns

Applies to