Partager via


AnonymousMethodExpressionSyntax.WithAsyncKeyword(SyntaxToken) Method

Definition

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

Parameters

asyncKeyword
SyntaxToken

Returns

Applies to