This documentation is archived and is not being maintained.

Expression.ConvertChecked Method

Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed.

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 ConvertChecked(Expression, Type) Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed.
Public method Static member ConvertChecked(Expression, Type, MethodInfo) Creates a UnaryExpression that represents a conversion operation that throws an exception if the target type is overflowed and for which the implementing method is specified.
Top
Show: