EntityPropertiesType Property
The type of the entity property.
Syntax
table.getEntityPropertiesType(index, [callback]) table.setEntityPropertiesType(index, entityPropertiesType, [callback])
Possible Values
0 (etBinary), 1 (etBoolean), 2 (etDateTime), 3 (etDouble), 4 (etGuid), 5 (etInt32), 6 (etInt64), 7 (etString)
Default Value
7
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getEntityPropertiesType([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setEntityPropertiesType([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
The type of the entity property. Possible values are:
0 (etBinary) | An array of bytes up to 64 KB in size |
1 (etBoolean) | A Boolean value. |
2 (etDateTime) | A 64-bit value expressed as Coordinated Universal Time (UTC). |
3 (etDouble) | A 64-bit floating point value. |
4 (etGuid) | A 128-bit globally unique identifier. |
5 (etInt32) | A 32-bit integer. |
6 (etInt64) | A 64-bit integer. |
7 (etString) | A UTF-16-encoded value. String values may be up to 64 KB in size. |
The size of the array is controlled by the EntityPropertiesCount property.
This property is not available at design time.
Data Type
Integer