共用方式為


InterpolatedStringExpressionSyntax.WithContents 方法

定義

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

參數

傳回

適用於