Expression.Block Method (Type, 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, _ ParamArray expressions As Expression() _ ) As BlockExpression
Parameters
- type
- Type: System.Type
The result type of the block.
- expressions
- Type:
System.Linq.Expressions.Expression
()
The expressions in the block.
Show: