共用方式為


ConditionalExpressionSyntax.WithQuestionToken(SyntaxToken) Method

Definition

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

Parameters

questionToken
SyntaxToken

Returns

Applies to