共用方式為


AnonymousObjectCreationExpressionSyntax.WithOpenBraceToken 方法

定義

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

參數

openBraceToken
SyntaxToken

傳回

適用於