共用方式為


GlobalStatementSyntax.AddModifiers(SyntaxToken[]) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.GlobalStatementSyntax AddModifiers (params Microsoft.CodeAnalysis.SyntaxToken[] items);
override this.AddModifiers : Microsoft.CodeAnalysis.SyntaxToken[] -> Microsoft.CodeAnalysis.CSharp.Syntax.GlobalStatementSyntax
Public Function AddModifiers (ParamArray items As SyntaxToken()) As GlobalStatementSyntax

參數

items
SyntaxToken[]

傳回

適用於