Version

TreatAsType Property (ControlCalculationSettings)

Specifies what type to treat the values of the associated object as. For example in the case of a ControlCalculationSettings associated to a TextBox, the Text property is string type however you may want to treat it as double when providing the value to the calc engine for formula calculations.
Syntax
'Declaration
 
Public Property TreatAsType As Type
public Type TreatAsType {get; set;}
Remarks

Note: if this property is specified then the TreatAsTypeName setting will be ignored.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also