SyntaxFactory.CollectionRangeVariable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CollectionRangeVariable(ModifiedIdentifierSyntax, ExpressionSyntax) |
Describes a single variable of the form "x [As Type] In expression" for use in query expressions. |
CollectionRangeVariable(ModifiedIdentifierSyntax, SimpleAsClauseSyntax, ExpressionSyntax) |
Describes a single variable of the form "x [As Type] In expression" for use in query expressions. |
CollectionRangeVariable(ModifiedIdentifierSyntax, SimpleAsClauseSyntax, SyntaxToken, ExpressionSyntax) |
Describes a single variable of the form "x [As Type] In expression" for use in query expressions. |
CollectionRangeVariable(ModifiedIdentifierSyntax, 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
Describes a single variable of the form "x [As Type] In expression" for use in query expressions.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionRangeVariableSyntax ^ CollectionRangeVariable(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^ identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax CollectionRangeVariable (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member CollectionRangeVariable : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax
Public Shared Function CollectionRangeVariable (identifier As ModifiedIdentifierSyntax, expression As ExpressionSyntax) As CollectionRangeVariableSyntax
Parameters
- identifier
- ModifiedIdentifierSyntax
The name of the range variable being defined.
- expression
- ExpressionSyntax
The expression that serves as the source of items for the range variable.
Returns
Applies to
CollectionRangeVariable(ModifiedIdentifierSyntax, SimpleAsClauseSyntax, 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
Describes a single variable of the form "x [As Type] In expression" for use in query expressions.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionRangeVariableSyntax ^ CollectionRangeVariable(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^ identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax CollectionRangeVariable (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member CollectionRangeVariable : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax
Public Shared Function CollectionRangeVariable (identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, expression As ExpressionSyntax) As CollectionRangeVariableSyntax
Parameters
- identifier
- ModifiedIdentifierSyntax
The name of the range variable being defined.
- asClause
- SimpleAsClauseSyntax
Describes the type of the variable being defined.
- expression
- ExpressionSyntax
The expression that serves as the source of items for the range variable.
Returns
Applies to
CollectionRangeVariable(ModifiedIdentifierSyntax, SimpleAsClauseSyntax, 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
Describes a single variable of the form "x [As Type] In expression" for use in query expressions.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionRangeVariableSyntax ^ CollectionRangeVariable(Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^ identifier, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause, Microsoft::CodeAnalysis::SyntaxToken inKeyword, Microsoft::CodeAnalysis::VisualBasic::Syntax::ExpressionSyntax ^ expression);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax CollectionRangeVariable (Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax identifier, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause, Microsoft.CodeAnalysis.SyntaxToken inKeyword, Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax expression);
static member CollectionRangeVariable : Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.ExpressionSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionRangeVariableSyntax
Public Shared Function CollectionRangeVariable (identifier As ModifiedIdentifierSyntax, asClause As SimpleAsClauseSyntax, inKeyword As SyntaxToken, expression As ExpressionSyntax) As CollectionRangeVariableSyntax
Parameters
- identifier
- ModifiedIdentifierSyntax
The name of the range variable being defined.
- asClause
- SimpleAsClauseSyntax
Describes the type of the variable being defined.
- inKeyword
- SyntaxToken
The "In" keyword.
- expression
- ExpressionSyntax
The expression that serves as the source of items for the range variable.