SyntaxTokenList.InsertRange(Int32, IEnumerable<SyntaxToken>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new SyntaxTokenList with the specified tokens insert at the index.
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
Parameters
- index
- Int32
The index to insert the new tokens.
- tokens
- IEnumerable<SyntaxToken>
The tokens to insert.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.