共用方式為


InitializerExpressionSyntax.WithOpenBraceToken(SyntaxToken) Method

Definition

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

Parameters

openBraceToken
SyntaxToken

Returns

Applies to