共用方式為


SwitchExpressionSyntax.WithOpenBraceToken(SyntaxToken) Method

Definition

public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax WithOpenBraceToken (Microsoft.CodeAnalysis.SyntaxToken openBraceToken);
member this.WithOpenBraceToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchExpressionSyntax
Public Function WithOpenBraceToken (openBraceToken As SyntaxToken) As SwitchExpressionSyntax

Parameters

openBraceToken
SyntaxToken

Returns

Applies to