次の方法で共有


SwitchExpressionSyntax.WithGoverningExpression(ExpressionSyntax) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax WithGoverningExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax governingExpression);
member this.WithGoverningExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Function WithGoverningExpression (governingExpression As ExpressionSyntax) As SwitchExpressionSyntax

Parameters

governingExpression
ExpressionSyntax

Returns

Applies to