Share via


CatchStatementSyntax.WithIdentifierName(IdentifierNameSyntax) Method

Definition

Returns a copy of this with the IdentifierName 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::CatchStatementSyntax ^ WithIdentifierName(Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ identifierName);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax WithIdentifierName (Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax identifierName);
member this.WithIdentifierName : Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CatchStatementSyntax
Public Function WithIdentifierName (identifierName As IdentifierNameSyntax) As CatchStatementSyntax

Parameters

identifierName
IdentifierNameSyntax

Returns

Applies to