共用方式為


AccessorDeclarationSyntax.AddModifiers(SyntaxToken[]) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AccessorDeclarationSyntax ^ AddModifiers(... cli::array <Microsoft::CodeAnalysis::SyntaxToken> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax AddModifiers (params Microsoft.CodeAnalysis.SyntaxToken[] items);
member this.AddModifiers : Microsoft.CodeAnalysis.SyntaxToken[] -> Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax
Public Function AddModifiers (ParamArray items As SyntaxToken()) As AccessorDeclarationSyntax

參數

items
SyntaxToken[]

傳回

適用於