共用方式為


AnonymousFunctionExpressionSyntax.WithAsyncKeyword(SyntaxToken) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AnonymousFunctionExpressionSyntax ^ WithAsyncKeyword(Microsoft::CodeAnalysis::SyntaxToken asyncKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax WithAsyncKeyword (Microsoft.CodeAnalysis.SyntaxToken asyncKeyword);
member this.WithAsyncKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.AnonymousFunctionExpressionSyntax
Public Function WithAsyncKeyword (asyncKeyword As SyntaxToken) As AnonymousFunctionExpressionSyntax

參數

asyncKeyword
SyntaxToken

傳回

適用於