共用方式為


RecordDeclarationSyntax.WithKeyword(SyntaxToken) 方法

定義

public Microsoft.CodeAnalysis.CSharp.Syntax.RecordDeclarationSyntax WithKeyword (Microsoft.CodeAnalysis.SyntaxToken keyword);
override this.WithKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.RecordDeclarationSyntax
Public Function WithKeyword (keyword As SyntaxToken) As RecordDeclarationSyntax

參數

keyword
SyntaxToken

傳回

適用於