LongStringToType Method

Return the system type that best represents the supplied data type.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public Object ToType(
	Type type,
	IFormatProvider provider
)

Parameters

type  Type
Reference to the data type to test.
provider  IFormatProvider
Format provider.

Return Value

Object
Reference to the system data type that best represents the specified data type.

Implements

IConvertibleToType(Type, IFormatProvider)

See Also