Partager via


InterpolationFormatClauseSyntax.WithColonToken(SyntaxToken) Method

Definition

Returns a copy of this with the ColonToken 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::InterpolationFormatClauseSyntax ^ WithColonToken(Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax WithColonToken (Microsoft.CodeAnalysis.SyntaxToken colonToken);
member this.WithColonToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax
Public Function WithColonToken (colonToken As SyntaxToken) As InterpolationFormatClauseSyntax

Parameters

colonToken
SyntaxToken

Returns

Applies to