Share via


NamedFieldInitializerSyntax.WithDotToken(SyntaxToken) Method

Definition

Returns a copy of this with the DotToken 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::NamedFieldInitializerSyntax ^ WithDotToken(Microsoft::CodeAnalysis::SyntaxToken dotToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NamedFieldInitializerSyntax WithDotToken (Microsoft.CodeAnalysis.SyntaxToken dotToken);
member this.WithDotToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NamedFieldInitializerSyntax
Public Function WithDotToken (dotToken As SyntaxToken) As NamedFieldInitializerSyntax

Parameters

dotToken
SyntaxToken

Returns

Applies to