共用方式為


EventDeclarationSyntax.WithIdentifier(SyntaxToken) 方法

定義

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

參數

identifier
SyntaxToken

傳回

適用於