共用方式為


SwitchStatementSyntax.WithOpenParenToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::SwitchStatementSyntax ^ WithOpenParenToken(Microsoft::CodeAnalysis::SyntaxToken openParenToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax WithOpenParenToken (Microsoft.CodeAnalysis.SyntaxToken openParenToken);
member this.WithOpenParenToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchStatementSyntax
Public Function WithOpenParenToken (openParenToken As SyntaxToken) As SwitchStatementSyntax

Parameters

openParenToken
SyntaxToken

Returns

Applies to