ConvertValueToType(Object, String, 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,
	string type,
	bool allowNull = true
)

Parameters

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

Return Value

Object
Object with the value to data type converted.

See Also