IConvertible Methods

The IConvertible type exposes the following members.

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