共用方式為


LabeledStatementSyntax.WithColonToken(SyntaxToken) Method

Definition

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

Parameters

colonToken
SyntaxToken

Returns

Applies to