共用方式為


ClassDeclarationSyntax.WithIdentifier(SyntaxToken) 方法

定義

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

參數

identifier
SyntaxToken

傳回

適用於