共用方式為


ConditionalAccessExpressionSyntax.WithExpression(ExpressionSyntax) Method

Definition

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

Parameters

expression
ExpressionSyntax

Returns

Applies to