Udostępnij za pośrednictwem


SyntaxFactory.RangeArgument Method

Definition

Overloads

RangeArgument(ExpressionSyntax, ExpressionSyntax)

Represents a range argument, such as "0 to 5", used in array bounds. The "Value" property represents the upper bound of the range.

RangeArgument(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

Represents a range argument, such as "0 to 5", used in array bounds. The "Value" property represents the upper bound of the range.

RangeArgument(ExpressionSyntax, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a range argument, such as "0 to 5", used in array bounds. The "Value" property represents the upper bound of the range.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::RangeArgumentSyntax ^ RangeArgument(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ lowerBound, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ upperBound);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeArgumentSyntax RangeArgument (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax lowerBound, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax upperBound);
static member RangeArgument : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeArgumentSyntax
Public Shared Function RangeArgument (lowerBound As ExpressionSyntax, upperBound As ExpressionSyntax) As RangeArgumentSyntax

Parameters

lowerBound
ExpressionSyntax

The lower bound of the range. This is typically the integer constant zero.

upperBound
ExpressionSyntax

The upper bound of the range.

Returns

Applies to

RangeArgument(ExpressionSyntax, SyntaxToken, ExpressionSyntax)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

Represents a range argument, such as "0 to 5", used in array bounds. The "Value" property represents the upper bound of the range.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::RangeArgumentSyntax ^ RangeArgument(Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ lowerBound, Microsoft::CodeAnalysis::SyntaxToken toKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ upperBound);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeArgumentSyntax RangeArgument (Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax lowerBound, Microsoft.CodeAnalysis.SyntaxToken toKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax upperBound);
static member RangeArgument : Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.RangeArgumentSyntax
Public Shared Function RangeArgument (lowerBound As ExpressionSyntax, toKeyword As SyntaxToken, upperBound As ExpressionSyntax) As RangeArgumentSyntax

Parameters

lowerBound
ExpressionSyntax

The lower bound of the range. This is typically the integer constant zero.

toKeyword
SyntaxToken

The "To" keyword.

upperBound
ExpressionSyntax

The upper bound of the range.

Returns

Applies to