Compartilhar via


ConditionalAccessExpressionSyntax.WithWhenNotNull(ExpressionSyntax) Method

Definition

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

Parameters

whenNotNull
ExpressionSyntax

Returns

Applies to