This documentation is archived and is not being maintained.
DBNull Methods
Visual Studio 2010
The DBNull type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the DBNull object. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetTypeCode | Gets the TypeCode value for DBNull. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString() | Returns an empty string (String::Empty). (Overrides Object::ToString().) |
|
ToString(IFormatProvider) | Returns an empty string using the specified System::IFormatProvider. |
| Name | Description | |
|---|---|---|
|
IConvertible::ToBoolean | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToByte | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToChar | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToDateTime | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToDecimal | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToDouble | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToInt16 | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToInt32 | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToInt64 | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToSByte | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToSingle | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToType | Infrastructure. Converts the current DBNull object to the specified type. |
|
IConvertible::ToUInt16 | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToUInt32 | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
|
IConvertible::ToUInt64 | Infrastructure. This conversion is not supported. Attempting to make this conversion throws an InvalidCastException. |
Show: