Share via


PrintStatementSyntax.WithQuestionToken(SyntaxToken) Method

Definition

Returns a copy of this with the QuestionToken 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::PrintStatementSyntax ^ WithQuestionToken(Microsoft::CodeAnalysis::SyntaxToken questionToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.PrintStatementSyntax WithQuestionToken (Microsoft.CodeAnalysis.SyntaxToken questionToken);
member this.WithQuestionToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PrintStatementSyntax
Public Function WithQuestionToken (questionToken As SyntaxToken) As PrintStatementSyntax

Parameters

questionToken
SyntaxToken

Returns

Applies to