Partager via


ReturnStatementSyntax.WithReturnKeyword(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ReturnStatementSyntax ^ WithReturnKeyword(Microsoft::CodeAnalysis::SyntaxToken returnKeyword);
public Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax WithReturnKeyword (Microsoft.CodeAnalysis.SyntaxToken returnKeyword);
member this.WithReturnKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Function WithReturnKeyword (returnKeyword As SyntaxToken) As ReturnStatementSyntax

Parameters

returnKeyword
SyntaxToken

Returns

Applies to