共用方式為


InterpolatedStringExpressionSyntax.Update 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::InterpolatedStringExpressionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken dollarSignDoubleQuoteToken, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::InterpolatedStringContentSyntax ^> contents, Microsoft::CodeAnalysis::SyntaxToken doubleQuoteToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolatedStringExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken dollarSignDoubleQuoteToken, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolatedStringContentSyntax> contents, Microsoft.CodeAnalysis.SyntaxToken doubleQuoteToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolatedStringContentSyntax> * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InterpolatedStringExpressionSyntax
Public Function Update (dollarSignDoubleQuoteToken As SyntaxToken, contents As SyntaxList(Of InterpolatedStringContentSyntax), doubleQuoteToken As SyntaxToken) As InterpolatedStringExpressionSyntax

Parameters

dollarSignDoubleQuoteToken
SyntaxToken

The value for the DollarSignDoubleQuoteToken property.

contents
SyntaxList<InterpolatedStringContentSyntax>

The value for the Contents property.

doubleQuoteToken
SyntaxToken

The value for the DoubleQuoteToken property.

Returns

Applies to