Compartilhar via


ThrowStatementSyntax.WithExpression(ExpressionSyntax) Método

Definição

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

Parâmetros

expression
ExpressionSyntax

Retornos

Aplica-se a