Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IConvertible Members

Defines methods that convert the value of the implementing reference or value type to a common language runtime type that has an equivalent value.

The following tables list the members exposed by the IConvertible type.

  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetTypeCode Returns the TypeCode for this instance.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToBoolean Converts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework ToChar Converts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToDateTime Converts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToDecimal Converts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework ToString Converts the value of this instance to an equivalent String using the specified culture-specific formatting information.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework 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 .NET Compact Framework Supported by the XNA Framework ToUInt64 Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
Top

Community Additions

Show:
© 2014 Microsoft