Expression.Block Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a BlockExpression.

Namespace:   System.Linq.Expressions
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression)

Creates a BlockExpression that contains two expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression, Expression)

Creates a BlockExpression that contains three expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression, Expression, Expression)

Creates a BlockExpression that contains four expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression, Expression, Expression, Expression, Expression)

Creates a BlockExpression that contains five expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Expression[])

Creates a BlockExpression that contains the given expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(IEnumerable<Expression>)

Creates a BlockExpression that contains the given expressions and has no variables.

System_CAPS_pubmethodSystem_CAPS_staticBlock(IEnumerable<ParameterExpression>, Expression[])

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBlock(IEnumerable<ParameterExpression>, IEnumerable<Expression>)

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, Expression[])

Creates a BlockExpression that contains the given expressions, has no variables and has specific result type.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, IEnumerable<Expression>)

Creates a BlockExpression that contains the given expressions, has no variables and has specific result type.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, IEnumerable<ParameterExpression>, Expression[])

Creates a BlockExpression that contains the given variables and expressions.

System_CAPS_pubmethodSystem_CAPS_staticBlock(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>)

Creates a BlockExpression that contains the given variables and expressions.

Return to top
Show: