共用方式為


InterpolationSyntax.Update Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::InterpolationSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken openBraceToken, Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression, Microsoft::CodeAnalysis::CSharp::Syntax::InterpolationAlignmentClauseSyntax ^ alignmentClause, Microsoft::CodeAnalysis::CSharp::Syntax::InterpolationFormatClauseSyntax ^ formatClause, Microsoft::CodeAnalysis::SyntaxToken closeBraceToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationSyntax Update (Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationAlignmentClauseSyntax alignmentClause, Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationFormatClauseSyntax formatClause, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationSyntax Update (Microsoft.CodeAnalysis.SyntaxToken openBraceToken, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression, Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationAlignmentClauseSyntax? alignmentClause, Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationFormatClauseSyntax? formatClause, Microsoft.CodeAnalysis.SyntaxToken closeBraceToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationAlignmentClauseSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationFormatClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.InterpolationSyntax
Public Function Update (openBraceToken As SyntaxToken, expression As ExpressionSyntax, alignmentClause As InterpolationAlignmentClauseSyntax, formatClause As InterpolationFormatClauseSyntax, closeBraceToken As SyntaxToken) As InterpolationSyntax

Parameters

openBraceToken
SyntaxToken
expression
ExpressionSyntax
closeBraceToken
SyntaxToken

Returns

Applies to