Partager via


MethodDeclarationSyntax.AddModifiers(SyntaxToken[]) Method

Definition

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

Parameters

items
SyntaxToken[]

Returns

Applies to