MoneyToType 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.

Definition

Namespace: InnerDrive.Financial
Assembly: InnerDrive.Financial (in InnerDrive.Financial.dll) Version: 5.2.9417.0
C#
public Object ToType(
	Type conversionType,
	IFormatProvider? provider
)

Parameters

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

Return Value

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

Implements

IConvertibleToType(Type, IFormatProvider)

See Also