Constant Method
TOC
Collapse the table of content
Expand the table of content

Expression.Constant Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a ConstantExpression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Constant(Object) Creates a ConstantExpression that has the Value property set to the specified value.
Public method Static member Constant(Object, Type) Creates a ConstantExpression that has the Value and Type properties set to the specified values.
Top

Show:
© 2017 Microsoft