Partilhar via


ConstantPatternSyntax.WithExpression(ExpressionSyntax) Método

Definição

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

Parâmetros

expression
ExpressionSyntax

Retornos

Aplica-se a