LabeledStatementSyntax.WithColonToken(SyntaxToken) 方法

定义

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

参数

colonToken
SyntaxToken

返回

适用于