Share via


NullableTypeSyntax.Update(TypeSyntax, SyntaxToken) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::NullableTypeSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ elementType, Microsoft::CodeAnalysis::SyntaxToken questionMarkToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NullableTypeSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax elementType, Microsoft.CodeAnalysis.SyntaxToken questionMarkToken);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NullableTypeSyntax
Public Function Update (elementType As TypeSyntax, questionMarkToken As SyntaxToken) As NullableTypeSyntax

Parameters

elementType
TypeSyntax

The value for the ElementType property.

questionMarkToken
SyntaxToken

The value for the QuestionMarkToken property.

Returns

Applies to