mscorlib(4.0.0.0) API with additions
IFormatterConverter.cs
2 
4 {
6  [CLSCompliant(false)]
7  [ComVisible(true)]
8  public interface IFormatterConverter
9  {
14  object Convert(object value, Type type);
15 
20  object Convert(object value, TypeCode typeCode);
21 
25  bool ToBoolean(object value);
26 
30  char ToChar(object value);
31 
35  sbyte ToSByte(object value);
36 
40  byte ToByte(object value);
41 
45  short ToInt16(object value);
46 
50  ushort ToUInt16(object value);
51 
55  int ToInt32(object value);
56 
60  uint ToUInt32(object value);
61 
65  long ToInt64(object value);
66 
70  ulong ToUInt64(object value);
71 
75  float ToSingle(object value);
76 
80  double ToDouble(object value);
81 
85  decimal ToDecimal(object value);
86 
90  DateTime ToDateTime(object value);
91 
95  string ToString(object value);
96  }
97 }
Provides the connection between an instance of T:System.Runtime.Serialization.SerializationInfo and t...
DateTime ToDateTime(object value)
Converts a value to a T:System.DateTime.
bool ToBoolean(object value)
Converts a value to a T:System.Boolean.
TypeCode
Specifies the type of an object.
Definition: TypeCode.cs:9
ushort ToUInt16(object value)
Converts a value to a 16-bit unsigned integer.
Definition: __Canon.cs:3
sbyte ToSByte(object value)
Converts a value to a T:System.SByte.
Represents an instant in time, typically expressed as a date and time of day. To browse the ....
Definition: DateTime.cs:13
double ToDouble(object value)
Converts a value to a double-precision floating-point number.
ulong ToUInt64(object value)
Converts a value to a 64-bit unsigned integer.
long ToInt64(object value)
Converts a value to a 64-bit signed integer.
string ToString(object value)
Converts a value to a T:System.String.
float ToSingle(object value)
Converts a value to a single-precision floating-point number.
short ToInt16(object value)
Converts a value to a 16-bit signed integer.
Represents type declarations: class types, interface types, array types, value types,...
Definition: Type.cs:18
uint ToUInt32(object value)
Converts a value to a 32-bit unsigned integer.
char ToChar(object value)
Converts a value to a Unicode character.
decimal ToDecimal(object value)
Converts a value to a T:System.Decimal.
object Convert(object value, Type type)
Converts a value to the given T:System.Type.
int ToInt32(object value)
Converts a value to a 32-bit signed integer.
byte ToByte(object value)
Converts a value to an 8-bit unsigned integer.