다음을 통해 공유


InterpolationSyntax.WithFormatClause(InterpolationFormatClauseSyntax) Method

Definition

Returns a copy of this with the FormatClause 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::InterpolationSyntax ^ WithFormatClause(Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolationFormatClauseSyntax ^ formatClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationSyntax WithFormatClause (Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax formatClause);
member this.WithFormatClause : Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationFormatClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolationSyntax
Public Function WithFormatClause (formatClause As InterpolationFormatClauseSyntax) As InterpolationSyntax

Parameters

Returns

Applies to