SyntaxTriviaList.InsertRange(Int32, IEnumerable<SyntaxTrivia>) 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 SyntaxTriviaList with the specified trivia inserted at the index.
public:
Microsoft::CodeAnalysis::SyntaxTriviaList InsertRange(int index, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxTrivia> ^ trivia);
public Microsoft.CodeAnalysis.SyntaxTriviaList InsertRange (int index, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> trivia);
member this.InsertRange : int * seq<Microsoft.CodeAnalysis.SyntaxTrivia> -> Microsoft.CodeAnalysis.SyntaxTriviaList
Public Function InsertRange (index As Integer, trivia As IEnumerable(Of SyntaxTrivia)) As SyntaxTriviaList
Parameters
- index
- Int32
The index in the list to insert the trivia at.
- trivia
- IEnumerable<SyntaxTrivia>
The trivia to insert.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.