Partager via


MemberDeclarationSyntax.AddModifiers(SyntaxToken[]) Method

Definition

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

Parameters

items
SyntaxToken[]

Returns

Applies to