共用方式為


RefTypeExpressionSyntax.WithExpression(ExpressionSyntax) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::RefTypeExpressionSyntax ^ WithExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^ expression);
public Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeExpressionSyntax WithExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax expression);
member this.WithExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.RefTypeExpressionSyntax
Public Function WithExpression (expression As ExpressionSyntax) As RefTypeExpressionSyntax

參數

expression
ExpressionSyntax

傳回

適用於