ConvertValueToType(Object, Type, Boolean) Method

Converts a value to a data type.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static Object ValueToType(
	Object value,
	Type type,
	bool allowNull = true
)

Parameters

value  Object
Value to convert.
type  Type
Type to convert.
allowNull  Boolean  (Optional)
Indicates whether is supported.

Return Value

Object
Object with the value to data type converted.

See Also