VisualBasicExtensions.Insert(SyntaxTokenList, Int32, SyntaxToken[]) 方法

定义

在列表中的指定索引处插入一个或多个标记。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::CodeAnalysis::SyntaxTokenList Insert(Microsoft::CodeAnalysis::SyntaxTokenList list, int index, ... cli::array <Microsoft::CodeAnalysis::SyntaxToken> ^ items);
public static Microsoft.CodeAnalysis.SyntaxTokenList Insert (this Microsoft.CodeAnalysis.SyntaxTokenList list, int index, params Microsoft.CodeAnalysis.SyntaxToken[] items);
static member Insert : Microsoft.CodeAnalysis.SyntaxTokenList * int * Microsoft.CodeAnalysis.SyntaxToken[] -> Microsoft.CodeAnalysis.SyntaxTokenList
<Extension()>
Public Function Insert (list As SyntaxTokenList, index As Integer, ParamArray items As SyntaxToken()) As SyntaxTokenList

参数

index
Int32
items
SyntaxToken[]

返回

插入令牌的新列表。

适用于