This documentation is archived and is not being maintained.

DBNull Members

Represents a null value.

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

  Name Description
Public field Static Supported by the .NET Compact Framework Value Represents the sole instance of the DBNull class.
Top

  Name Description
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the DBNull object.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetTypeCode Gets the TypeCode value for DBNull.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Overloaded. Overridden. Returns an empty string.
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToBoolean This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToByte This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToChar This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDateTime This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDecimal This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDouble This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt16 This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt32 This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt64 This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSByte This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSingle This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToType Converts the current DBNull object to the specified type.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt16 This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt32 This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt64 This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Top
Show: