共用方式為


GlobalStatementSyntax.WithModifiers(SyntaxTokenList) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.GlobalStatementSyntax WithModifiers (Microsoft.CodeAnalysis.SyntaxTokenList modifiers);
override this.WithModifiers : Microsoft.CodeAnalysis.SyntaxTokenList -> Microsoft.CodeAnalysis.CSharp.Syntax.GlobalStatementSyntax
Public Function WithModifiers (modifiers As SyntaxTokenList) As GlobalStatementSyntax

Parameters

modifiers
SyntaxTokenList

Returns

Applies to