Partager via


InterpolatedStringExpressionSyntax.WithContents Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::InterpolatedStringExpressionSyntax ^ WithContents(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::InterpolatedStringContentSyntax ^> contents);
public Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringExpressionSyntax WithContents (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringContentSyntax> contents);
member this.WithContents : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringContentSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.InterpolatedStringExpressionSyntax
Public Function WithContents (contents As SyntaxList(Of InterpolatedStringContentSyntax)) As InterpolatedStringExpressionSyntax

Parameters

Returns

Applies to