共用方式為


InterpolationFormatClauseSyntax.Update(SyntaxToken, SyntaxToken) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationFormatClauseSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken colonToken, Microsoft::CodeAnalysis::SyntaxToken formatStringToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax Update (Microsoft.CodeAnalysis.SyntaxToken colonToken, Microsoft.CodeAnalysis.SyntaxToken formatStringToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax
Public Function Update (colonToken As SyntaxToken, formatStringToken As SyntaxToken) As InterpolationFormatClauseSyntax

Parameters

colonToken
SyntaxToken

The value for the ColonToken property.

formatStringToken
SyntaxToken

The value for the FormatStringToken property.

Returns

Applies to