Compartir a través de


ObjectMemberInitializerSyntax.WithCloseBraceToken(SyntaxToken) Method

Definition

Returns a copy of this with the CloseBraceToken property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ObjectMemberInitializerSyntax ^ WithCloseBraceToken(Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax WithCloseBraceToken (Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
member this.WithCloseBraceToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ObjectMemberInitializerSyntax
Public Function WithCloseBraceToken (closeBraceToken As SyntaxToken) As ObjectMemberInitializerSyntax

Parameters

closeBraceToken
SyntaxToken

Returns

Applies to