共用方式為


RecordDeclarationSyntax.WithIdentifier(SyntaxToken) 方法

定義

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

參數

identifier
SyntaxToken

傳回

適用於