共用方式為


ExpressionColonSyntax.WithColonToken(SyntaxToken) Method

Definition

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

Parameters

colonToken
SyntaxToken

Returns

Applies to