M-Files API 22.6.11519.0
GetValueAsTextEx Method
PropertyValue Object : GetValueAsTextEx Method
Specifies whether the value is to be localized (for example dates).
If this parameter is set to true, a NULL value should be returned as an empty string. Otherwise, it returns the stringified version of NULL, typically (null) or (empty).
If the property value is empty, specifies whether the returned value should be treated as a hidden value.
True to set the possible timestamp to be presented in the long date format.
If true, seconds are not included in the formatted string.
True to return numeric values as kilobytes.
If true, digit grouping (= thousands separator) should be used for integers (eDatatypeInteger) and real numbers (eDatatypeFloating).
Description
Returns the property value in a human-readable format.
Syntax
Visual Basic
Public Function GetValueAsTextEx( _
   ByVal Localized As Boolean, _
   ByVal NULLAsEmptyString As Boolean, _
   ByVal EmptyLookupDisplayValuesAsHidden As Boolean, _
   ByVal LongDateFormat As Boolean, _
   ByVal NoSeconds As Boolean, _
   ByVal NumericValueAsKilobytes As Boolean, _
   ByVal AllowDigitGrouping As Boolean _
) As String
Parameters
Localized
Specifies whether the value is to be localized (for example dates).
NULLAsEmptyString
If this parameter is set to true, a NULL value should be returned as an empty string. Otherwise, it returns the stringified version of NULL, typically (null) or (empty).
EmptyLookupDisplayValuesAsHidden
If the property value is empty, specifies whether the returned value should be treated as a hidden value.
LongDateFormat
True to set the possible timestamp to be presented in the long date format.
NoSeconds
If true, seconds are not included in the formatted string.
NumericValueAsKilobytes
True to return numeric values as kilobytes.
AllowDigitGrouping
If true, digit grouping (= thousands separator) should be used for integers (eDatatypeInteger) and real numbers (eDatatypeFloating).
See Also

PropertyValue Object  | PropertyValue Members