Compartir a través de


RangeArgumentSyntax.WithUpperBound(ExpressionSyntax) Method

Definition

Returns a copy of this with the UpperBound 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::RangeArgumentSyntax ^ WithUpperBound(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ upperBound);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeArgumentSyntax WithUpperBound (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax upperBound);
member this.WithUpperBound : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeArgumentSyntax
Public Function WithUpperBound (upperBound As ExpressionSyntax) As RangeArgumentSyntax

Parameters

upperBound
ExpressionSyntax

Returns

Applies to