다음을 통해 공유


SwitchExpressionArmSyntax.WithWhenClause(WhenClauseSyntax) 메서드

정의

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

매개 변수

whenClause
WhenClauseSyntax

반환

적용 대상