Share via


ConditionalAccessExpressionSyntax.WithQuestionMarkToken(SyntaxToken) Method

Definition

Returns a copy of this with the QuestionMarkToken property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ConditionalAccessExpressionSyntax ^ WithQuestionMarkToken(Microsoft::CodeAnalysis::SyntaxToken questionMarkToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ConditionalAccessExpressionSyntax WithQuestionMarkToken (Microsoft.CodeAnalysis.SyntaxToken questionMarkToken);
member this.WithQuestionMarkToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ConditionalAccessExpressionSyntax
Public Function WithQuestionMarkToken (questionMarkToken As SyntaxToken) As ConditionalAccessExpressionSyntax

Parameters

questionMarkToken
SyntaxToken

Returns

Applies to