32 UnitySerializationHolder.GetUnitySerializationInfo(info, 2,
null,
null);
71 char IConvertible.ToChar(IFormatProvider provider)
73 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
80 sbyte IConvertible.ToSByte(IFormatProvider provider)
82 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
89 byte IConvertible.ToByte(IFormatProvider provider)
91 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
98 short IConvertible.ToInt16(IFormatProvider provider)
100 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
107 ushort IConvertible.ToUInt16(IFormatProvider provider)
109 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
116 int IConvertible.ToInt32(IFormatProvider provider)
118 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
125 uint IConvertible.ToUInt32(IFormatProvider provider)
127 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
134 long IConvertible.ToInt64(IFormatProvider provider)
136 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
143 ulong IConvertible.ToUInt64(IFormatProvider provider)
145 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
152 float IConvertible.ToSingle(IFormatProvider provider)
154 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
161 double IConvertible.ToDouble(IFormatProvider provider)
163 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
170 decimal IConvertible.ToDecimal(IFormatProvider provider)
172 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
179 DateTime IConvertible.ToDateTime(IFormatProvider provider)
181 throw new InvalidCastException(Environment.GetResourceString(
"InvalidCast_FromDBNull"));
191 object IConvertible.ToType(Type type, IFormatProvider provider)
193 return Convert.DefaultToType(
this, type, provider);
bool ToBoolean(IFormatProvider provider)
Converts the value of this instance to an equivalent Boolean value using the specified culture-specif...
TypeCode
Specifies the type of an object.
The exception that is thrown for invalid casting or explicit conversion.
Describes the source and destination of a given serialized stream, and provides an additional caller-...
A type representing a date and time value.
TypeCode GetTypeCode()
Gets the T:System.TypeCode value for T:System.DBNull.
void GetObjectData(SerializationInfo info, StreamingContext context)
Implements the T:System.Runtime.Serialization.ISerializable interface and returns the data needed to ...
Provides information about, and means to manipulate, the current environment and platform....
A cast or conversion operation, such as (SampleType)obj in C::or CType(obj, SampleType) in Visual Bas...
override string ToString()
Returns an empty string (F:System.String.Empty).
static readonly DBNull Value
Represents the sole instance of the T:System.DBNull class.
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Allows an object to control its own serialization and deserialization.
Specifies that the class can be serialized.
The exception that is thrown when an invoked method is not supported, or when there is an attempt to ...
Defines methods that convert the value of the implementing reference or value type to a common langua...
string ToString(IFormatProvider provider)
Returns an empty string using the specified T:System.IFormatProvider.
Represents a nonexistent value. This class cannot be inherited.