共用方式為


LocalFunctionStatementSyntax.WithIdentifier(SyntaxToken) 方法

定義

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

參數

identifier
SyntaxToken

傳回

適用於