Partager via


PredefinedCastExpressionSyntax.WithCloseParenToken(SyntaxToken) Method

Definition

Returns a copy of this with the CloseParenToken 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::PredefinedCastExpressionSyntax ^ WithCloseParenToken(Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.PredefinedCastExpressionSyntax WithCloseParenToken (Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
member this.WithCloseParenToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.PredefinedCastExpressionSyntax
Public Function WithCloseParenToken (closeParenToken As SyntaxToken) As PredefinedCastExpressionSyntax

Parameters

closeParenToken
SyntaxToken

Returns

Applies to