Expression.Constant 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.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticConstant(Object)

Creates a ConstantExpression that has the Value property set to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticConstant(Object, Type)

Creates a ConstantExpression that has the Value and Type properties set to the specified values.

Return to top
Show: