共用方式為


EnumDeclarationSyntax.AddModifiers(SyntaxToken[]) Method

Definition

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

Parameters

items
SyntaxToken[]

Returns

Applies to