다음을 통해 공유


YieldStatementSyntax.WithExpression(ExpressionSyntax) 메서드

정의

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

매개 변수

expression
ExpressionSyntax

반환

적용 대상