Partager via


NameColonEqualsSyntax.WithColonEqualsToken(SyntaxToken) Method

Definition

Returns a copy of this with the ColonEqualsToken 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::NameColonEqualsSyntax ^ WithColonEqualsToken(Microsoft::CodeAnalysis::SyntaxToken colonEqualsToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NameColonEqualsSyntax WithColonEqualsToken (Microsoft.CodeAnalysis.SyntaxToken colonEqualsToken);
member this.WithColonEqualsToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NameColonEqualsSyntax
Public Function WithColonEqualsToken (colonEqualsToken As SyntaxToken) As NameColonEqualsSyntax

Parameters

colonEqualsToken
SyntaxToken

Returns

Applies to