SPCalculationOptions enumeration

Enumerator that indicates options for how calculated field formulas, list data, validation formulas, and default value formulas are evaluated.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPCalculationOptions

Member nameDescription
NoneEnumerator value = 0x0 indicates that no options are specified.
PreserveEmptyValuesEnumerator value = 0x1 indicates that empty field values should be propagated through calculations which are more consistent with calculations in relational databases. If this option is not specified empty field values can be coerced to zero or false.
StrictTypeCoercionEnumerator value = 0x2 indicates that formulas requiring coercion from one data type to another or comparisons between different data types should return error values instead of attempting the conversion.