Freigeben über


SwitchStatementSyntax.WithExpression(ExpressionSyntax) Methode

Definition

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

Parameter

expression
ExpressionSyntax

Gibt zurück

Gilt für: