Windows Dev Center

DBNull Methods

The DBNull type exposes the following members.

  NameDescription
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetTypeCode Gets the TypeCode value for DBNull.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString() Returns an empty string (String.Empty). (Overrides Object.ToString().)
Public method ToString(IFormatProvider) Returns an empty string using the specified System.IFormatProvider.
Top

  NameDescription
Explicit interface implemetation Private method IConvertible.ToBoolean Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToByte Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToChar Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToDateTime Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToDecimal Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToDouble Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToInt16 Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToInt32 Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToInt64 Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToSByte Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToSingle Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToType Infrastructure. Converts the current DBNull object to the specified type.
Explicit interface implemetation Private method IConvertible.ToUInt16 Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToUInt32 Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Explicit interface implemetation Private method IConvertible.ToUInt64 Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException.
Top

Show:
© 2015 Microsoft