Partager via


SwitchExpressionArmSyntax.WithWhenClause(WhenClauseSyntax) Méthode

Définition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax WithWhenClause (Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax whenClause);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax WithWhenClause (Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax? whenClause);
member this.WithWhenClause : Microsoft.CodeAnalysis.CSharp.Syntax.WhenClauseSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax
Public Function WithWhenClause (whenClause As WhenClauseSyntax) As SwitchExpressionArmSyntax

Paramètres

whenClause
WhenClauseSyntax

Retours

S’applique à