共用方式為


VisualBasicExtensions.Add(SyntaxTokenList, SyntaxToken[]) 方法

定義

將一或多個權杖新增至清單結尾。

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

參數

items
SyntaxToken[]

傳回

已新增權杖的新清單。

適用於