Expression.Block Method (Type, IEnumerable(Of ParameterExpression), IEnumerable(Of Expression))
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a BlockExpression that contains the given variables and expressions.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function Block ( _ type As Type, _ variables As IEnumerable(Of ParameterExpression), _ expressions As IEnumerable(Of Expression) _ ) As BlockExpression
Parameters
- type
- Type: System.Type
The result type of the block.
- variables
- Type: System.Collections.Generic.IEnumerable(Of ParameterExpression)
The variables in the block.
- expressions
- Type: System.Collections.Generic.IEnumerable(Of Expression)
The expressions in the block.
Show: