mscorlib(4.0.0.0) API with additions
|
Represents a nonexistent value. This class cannot be inherited. More...
Public Member Functions | |
void | GetObjectData (SerializationInfo info, StreamingContext context) |
Implements the T:System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the T:System.DBNull object. More... | |
override string | ToString () |
Returns an empty string (F:System.String.Empty). More... | |
string | ToString (IFormatProvider provider) |
Returns an empty string using the specified T:System.IFormatProvider. More... | |
TypeCode | GetTypeCode () |
Gets the T:System.TypeCode value for T:System.DBNull. More... | |
Static Public Attributes | |
static readonly DBNull | Value = new DBNull() |
Represents the sole instance of the T:System.DBNull class. More... | |
Represents a nonexistent value. This class cannot be inherited.
void System.DBNull.GetObjectData | ( | SerializationInfo | info, |
StreamingContext | context | ||
) |
Implements the T:System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the T:System.DBNull object.
info | A T:System.Runtime.Serialization.SerializationInfo object containing information required to serialize the T:System.DBNull object. |
context | A T:System.Runtime.Serialization.StreamingContext object containing the source and destination of the serialized stream associated with the T:System.DBNull object. |
T:System.ArgumentNullException | info is null . |
Implements System.Runtime.Serialization.ISerializable.
TypeCode System.DBNull.GetTypeCode | ( | ) |
Gets the T:System.TypeCode value for T:System.DBNull.
Implements System.IConvertible.
override string System.DBNull.ToString | ( | ) |
string System.DBNull.ToString | ( | IFormatProvider | provider | ) |
Returns an empty string using the specified T:System.IFormatProvider.
provider | The T:System.IFormatProvider to be used to format the return value.-or- null to obtain the format information from the current locale setting of the operating system. |
Implements System.IConvertible.
Represents the sole instance of the T:System.DBNull class.