Udostępnij za pośrednictwem


SyntaxTokenList.AddRange(IEnumerable<SyntaxToken>) Method

Definition

Creates a new SyntaxTokenList with the specified tokens added to the end.

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

Parameters

tokens
IEnumerable<SyntaxToken>

The tokens to add.

Returns

Applies to