ConversionToValueOfType(Object, SysType, Boolean) Method

Return the caller's value, casted to the specified destination value.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static Object ToValueOfType(
	Object value,
	SysType type,
	bool allowNull
)

Parameters

value  Object
The Value to Convert.
type  SysType
The Destination Type of the Value.
allowNull  Boolean
Value indicating whether null return value is allowed.

Return Value

Object
Caller's Value, casted to the specified Type.

See Also