Compartir a través de


DefaultSwitchLabelSyntax.WithColonToken(SyntaxToken) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::DefaultSwitchLabelSyntax ^ WithColonToken(Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax WithColonToken (Microsoft.CodeAnalysis.SyntaxToken colonToken);
override this.WithColonToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.DefaultSwitchLabelSyntax
Public Function WithColonToken (colonToken As SyntaxToken) As DefaultSwitchLabelSyntax

Parameters

colonToken
SyntaxToken

Returns

Applies to