共用方式為


BaseTypeDeclarationSyntax.AddModifiers(SyntaxToken[]) Method

Definition

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

Parameters

items
SyntaxToken[]

Returns

Applies to