共用方式為


RangeCaseClauseSyntax.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::RangeCaseClauseSyntax ^ WithUpperBound(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ upperBound);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeCaseClauseSyntax WithUpperBound (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax upperBound);
member this.WithUpperBound : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeCaseClauseSyntax
Public Function WithUpperBound (upperBound As ExpressionSyntax) As RangeCaseClauseSyntax

Parameters

upperBound
ExpressionSyntax

Returns

Applies to