共用方式為


EnumDeclarationSyntax.WithIdentifier(SyntaxToken) Method

Definition

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

Parameters

identifier
SyntaxToken

Returns

Applies to