共用方式為


FieldDeclarationSyntax.AddModifiers(SyntaxToken[]) Method

Definition

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

Parameters

items
SyntaxToken[]

Returns

Applies to