共用方式為


TypeDeclarationSyntax.AddModifiers(SyntaxToken[]) 方法

定義

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

參數

items
SyntaxToken[]

傳回

適用於