InterpolatedStringExpressionSyntax.WithContents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- contents
- SyntaxList<InterpolatedStringContentSyntax>