IConvertible Methods
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The IConvertible type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetTypeCode | Returns the TypeCode for this instance. | |
ToBoolean | Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information. | |
ToByte | Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information. | |
ToChar | Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information. | |
ToDateTime | Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information. | |
ToDecimal | Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information. | |
ToDouble | Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information. | |
ToInt16 | Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information. | |
ToInt32 | Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information. | |
ToInt64 | Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information. | |
ToSByte | Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information. | |
ToSingle | Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information. | |
ToString | Converts the value of this instance to an equivalent String using the specified culture-specific formatting information. | |
ToType | 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. | |
ToUInt16 | Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information. | |
ToUInt32 | Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information. | |
ToUInt64 | Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information. |
Top