Windows Dev Center

Char.IConvertible.ToDecimal Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

decimal IConvertible.ToDecimal(
	IFormatProvider provider
)

Parameters

provider
Type: System.IFormatProvider
An IFormatProvider object. (Specify null because the provider parameter is ignored.)

Return Value

Type: System.Decimal
No value is returned.

Implements

IConvertible.ToDecimal(IFormatProvider)

ExceptionCondition
InvalidCastException

This conversion is not supported.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft