Usual.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.19
Syntax METHOD IConvertible.ToType(
conversionType AS Type,
provider AS IFormatProvider
) AS Object
Object IConvertible.ToType(
Type conversionType,
IFormatProvider provider
)
Request Example
View SourceParameters
- 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:
ObjectAn
Object instance of type
conversionType whose value is equivalent to the value of this instance.
Implements
ToType(Type, IFormatProvider)See Also