共用方式為


BaseMethodDeclarationSyntax.AddModifiers(SyntaxToken[]) Method

Definition

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

Parameters

items
SyntaxToken[]

Returns

Applies to