Partilhar via


ParenthesizedExpressionSyntax.WithExpression(ExpressionSyntax) Método

Definição

Retorna uma cópia disso com a propriedade Expression alterada para o valor especificado. Retorna essa instância se o valor especificado for o mesmo que o valor atual.

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

Parâmetros

expression
ExpressionSyntax

Retornos

Aplica-se a