MethodDeclarationSyntax.WithIdentifier(SyntaxToken) 方法

定义

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

参数

identifier
SyntaxToken

返回

适用于