다음을 통해 공유


SwitchLabelSyntax.WithColonToken(SyntaxToken) Method

Definition

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

Parameters

colonToken
SyntaxToken

Returns

Applies to