Delen via


SyntaxNodeOrTokenList.AddRange(IEnumerable<SyntaxNodeOrToken>) Method

Definition

Creates a new SyntaxNodeOrTokenList with the specified nodes or tokens added to the end.

public:
 Microsoft::CodeAnalysis::SyntaxNodeOrTokenList AddRange(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNodeOrToken> ^ nodesOrTokens);
public Microsoft.CodeAnalysis.SyntaxNodeOrTokenList AddRange (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNodeOrToken> nodesOrTokens);
member this.AddRange : seq<Microsoft.CodeAnalysis.SyntaxNodeOrToken> -> Microsoft.CodeAnalysis.SyntaxNodeOrTokenList
Public Function AddRange (nodesOrTokens As IEnumerable(Of SyntaxNodeOrToken)) As SyntaxNodeOrTokenList

Parameters

nodesOrTokens
IEnumerable<SyntaxNodeOrToken>

The nodes or tokens to add.

Returns

Applies to