Partilhar via


TernaryConditionalExpressionSyntax.WithFirstCommaToken(SyntaxToken) Method

Definition

Returns a copy of this with the FirstCommaToken property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::TernaryConditionalExpressionSyntax ^ WithFirstCommaToken(Microsoft::CodeAnalysis::SyntaxToken firstCommaToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.TernaryConditionalExpressionSyntax WithFirstCommaToken (Microsoft.CodeAnalysis.SyntaxToken firstCommaToken);
member this.WithFirstCommaToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TernaryConditionalExpressionSyntax
Public Function WithFirstCommaToken (firstCommaToken As SyntaxToken) As TernaryConditionalExpressionSyntax

Parameters

firstCommaToken
SyntaxToken

Returns

Applies to