共用方式為


ConditionalExpressionSyntax.WithColonToken(SyntaxToken) Method

Definition

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

Parameters

colonToken
SyntaxToken

Returns

Applies to