共用方式為


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[]

傳回

已插入標記的新清單。

適用於