Expression.Block Method (Type, 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 expressions, has no variables and has specific result type.
Assembly: System.Core (in System.Core.dll)
'Declaration Public Shared Function Block ( _ type As Type, _ expressions As IEnumerable(Of Expression) _ ) As BlockExpression
Parameters
- type
- Type: System.Type
The result type of the block.
- expressions
- Type: System.Collections.Generic.IEnumerable(Of Expression)
The expressions in the block.
Show: