Cast

Search Knowledge Base by Keyword

< Back

This Activity provides a conversion operator to change  a .NET Data Type from one Type to another. An example of when you may want to use this activity: To include numeric conversion to a Type that has less precision or a smaller range.

Cast Properties:

Property NameData TypeProperty TypeProperty Description
CheckedBooleanIf True this activity checks for overflow and generates a runtime exception if the resulting value exceeds the limits of the target type. If False, no checks are done. Note that some type casting cannot be checked. For more information, see .NET documentation on casting.
DisplayNameStringMiscThis property contains the name of the activity box.
Operand.Net Data TypeInputThis property contains the .NET Data Type of the Input to be converted/cast.
Result.Net Data TypeOutputThis property contains the .NET Data Type of the Result after casting.