共用方式為


RangeCaseClauseSyntax.Update Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::RangeCaseClauseSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ lowerBound, Microsoft::CodeAnalysis::SyntaxToken toKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ upperBound);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeCaseClauseSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax lowerBound, Microsoft.CodeAnalysis.SyntaxToken toKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax upperBound);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeCaseClauseSyntax
Public Function Update (lowerBound As ExpressionSyntax, toKeyword As SyntaxToken, upperBound As ExpressionSyntax) As RangeCaseClauseSyntax

Parameters

lowerBound
ExpressionSyntax

The value for the LowerBound property.

toKeyword
SyntaxToken

The value for the ToKeyword property.

upperBound
ExpressionSyntax

The value for the UpperBound property.

Returns

Applies to