Partilhar via


NullableTypeSyntax.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::NullableTypeSyntax ^ WithQuestionMarkToken(Microsoft::CodeAnalysis::SyntaxToken questionMarkToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NullableTypeSyntax WithQuestionMarkToken (Microsoft.CodeAnalysis.SyntaxToken questionMarkToken);
member this.WithQuestionMarkToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NullableTypeSyntax
Public Function WithQuestionMarkToken (questionMarkToken As SyntaxToken) As NullableTypeSyntax

Parameters

questionMarkToken
SyntaxToken

Returns

Applies to