共用方式為


ReturnStatementSyntax.WithReturnKeyword(SyntaxToken) 方法

定義

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

參數

returnKeyword
SyntaxToken

傳回

適用於