Partilhar via


TernaryConditionalExpressionSyntax.WithSecondCommaToken(SyntaxToken) Method

Definition

Returns a copy of this with the SecondCommaToken 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 ^ WithSecondCommaToken(Microsoft::CodeAnalysis::SyntaxToken secondCommaToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.TernaryConditionalExpressionSyntax WithSecondCommaToken (Microsoft.CodeAnalysis.SyntaxToken secondCommaToken);
member this.WithSecondCommaToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.TernaryConditionalExpressionSyntax
Public Function WithSecondCommaToken (secondCommaToken As SyntaxToken) As TernaryConditionalExpressionSyntax

Parameters

secondCommaToken
SyntaxToken

Returns

Applies to