Export (0) Print
Expand All
Expand Minimize

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

'Declaration
<FlagsAttribute> _
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Enumeration SPCalculationOptions
'Usage
Dim instance As 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.
Show:
© 2014 Microsoft