SyntaxTokenList.Insert(Int32, 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 token insert at the index.
public:
Microsoft::CodeAnalysis::SyntaxTokenList Insert(int index, Microsoft::CodeAnalysis::SyntaxToken token);
public Microsoft.CodeAnalysis.SyntaxTokenList Insert (int index, Microsoft.CodeAnalysis.SyntaxToken token);
member this.Insert : int * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Function Insert (index As Integer, token As SyntaxToken) As SyntaxTokenList
Parameters
- index
- Int32
The index to insert the new token.
- token
- SyntaxToken
The token 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.