DataValueToString Method
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static Object ValueToString(
Object value,
bool allowDBNull = true,
bool emptyIsNull = true,
int maxLength = 0,
bool cutRight = true
)
Public Shared Function ValueToString (
value As Object,
Optional allowDBNull As Boolean = true,
Optional emptyIsNull As Boolean = true,
Optional maxLength As Integer = 0,
Optional cutRight As Boolean = true
) As Object
- value Object
- Value to convert.
- allowDBNull Boolean (Optional)
- Indicates whether null values are allowed.
- emptyIsNull Boolean (Optional)
- If the field is of type String then it can be set to if it is empty.
- maxLength Int32 (Optional)
- Maximum string length.
- cutRight Boolean (Optional)
- If the column is of type String then you can indicate that it be cut from the right in case it exceeds.
ObjectObject with the value converted.