Udostępnij za pośrednictwem


SwitchExpressionArmSyntax.WithPattern(PatternSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax WithPattern (Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax pattern);
member this.WithPattern : Microsoft.CodeAnalysis.CSharp.Syntax.PatternSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionArmSyntax
Public Function WithPattern (pattern As PatternSyntax) As SwitchExpressionArmSyntax

Parameters

pattern
PatternSyntax

Returns

Applies to