Partilhar via


ExpressionRangeVariableSyntax.WithNameEquals(VariableNameEqualsSyntax) Method

Definition

Returns a copy of this with the NameEquals 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::ExpressionRangeVariableSyntax ^ WithNameEquals(Microsoft::CodeAnalysis::VisualBasic::Syntax::VariableNameEqualsSyntax ^ nameEquals);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax WithNameEquals (Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableNameEqualsSyntax nameEquals);
member this.WithNameEquals : Microsoft.CodeAnalysis.VisualBasic.Syntax.VariableNameEqualsSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionRangeVariableSyntax
Public Function WithNameEquals (nameEquals As VariableNameEqualsSyntax) As ExpressionRangeVariableSyntax

Parameters

Returns

Applies to