共用方式為


RecordDeclarationSyntax.WithModifiers(SyntaxTokenList) Method

Definition

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

Parameters

modifiers
SyntaxTokenList

Returns

Applies to