Поделиться через


ReturnStatementSyntax.WithExpression(ExpressionSyntax) Метод

Определение

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ReturnStatementSyntax ^ WithExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax? expression);
member this.WithExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ReturnStatementSyntax
Public Function WithExpression (expression As ExpressionSyntax) As ReturnStatementSyntax

Параметры

expression
ExpressionSyntax

Возвращаемое значение

Применяется к