Click or drag to resize

Date.IConvertible.ToType Method

Converts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.

Namespace:  XSharp
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.5
Syntax
METHOD IConvertible.ToType(
	conversionType AS Type,
	provider AS IFormatProvider
) AS Object

Parameters

conversionType
Type: Type
The Type to which the value of this instance is converted.
provider
Type: IFormatProvider
An IFormatProvider interface implementation that supplies culture-specific formatting information.

Return Value

Type: Object
An Object instance of type conversionType whose value is equivalent to the value of this instance.

Implements

ToType(Type, IFormatProvider)
See Also