Udostępnij za pośrednictwem


CasePatternSwitchLabelSyntax.WithColonToken(SyntaxToken) Method

Definition

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

Parameters

colonToken
SyntaxToken

Returns

Applies to