ConversionToDataType Method

Convert the incoming value to the specified data type.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static Object ToDataType(
	Object value,
	Type type
)

Parameters

value  Object
The Value to Convert.
type  Type
The Destination Type.

Return Value

Object
The specified value, converted to the specified Type.

See Also