Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IConvertible Methods

The IConvertible type exposes the following members.

  Name Description
Public method GetTypeCode Returns the TypeCode for this instance.
Public method ToBoolean Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
Public method ToByte Converts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
Public method ToChar Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
Public method ToDateTime Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
Public method ToDecimal Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
Public method ToDouble Converts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
Public method ToInt16 Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
Public method ToInt32 Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
Public method ToInt64 Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
Public method ToSByte Converts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
Public method ToSingle Converts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
Public method ToString Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
Public method 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.
Public method ToUInt16 Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
Public method ToUInt32 Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
Public method ToUInt64 Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.