| BasePropertyFormatValue Method (Object, AppFormatInfo, Boolean) |
Formats a value to a string using the property's settings.
Namespace:
Omada.OE.Model
Assembly:
Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntaxpublic abstract string FormatValue(
Object value,
AppFormatInfo formatInfo,
bool forInputField
)
Parameters
- value
- Type: SystemObject
The value to be formatted.
Can contain either a: string, int, datetime, double, bool, timespan, a SetPropertyValues object or a ReferencePropertyValues object.
Can also be null.
- formatInfo
- Type: Omada.OE.ModelAppFormatInfo
- forInputField
- Type: SystemBoolean
If forInputField=true a string suitable for display in input-fields is returned.
Return Value
Type:
StringThe formatted string.
See Also