SyntaxTokenList.InsertRange(Int32, IEnumerable<SyntaxToken>) Metodo

Definizione

Crea un nuovo SyntaxTokenList oggetto con i token specificati inseriti in corrispondenza dell'indice.

public:
 Microsoft::CodeAnalysis::SyntaxTokenList InsertRange(int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxToken> ^ tokens);
public Microsoft.CodeAnalysis.SyntaxTokenList InsertRange (int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> tokens);
member this.InsertRange : int * seq<Microsoft.CodeAnalysis.SyntaxToken> -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Function InsertRange (index As Integer, tokens As IEnumerable(Of SyntaxToken)) As SyntaxTokenList

Parametri

index
Int32

Indice da inserire i nuovi token.

tokens
IEnumerable<SyntaxToken>

Token da inserire.

Restituisce

Si applica a