Condividi tramite


YieldStatementSyntax.WithExpression(ExpressionSyntax) Metodo

Definizione

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

Parametri

expression
ExpressionSyntax

Restituisce

Si applica a