System.DBNull: Method Members

The methods of System.DBNull are listed below. For a list of all members, see the DBNull Members list.

See Also: Inherited members from System.Object

Public Methods

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the DBNull object.

GetTypeCode() : TypeCode

Gets the TypeCode value for DBNull.

override
ToString() : string

Returns an empty string (string.Empty).

ToString(IFormatProvider) : string

Returns an empty string using the specified IFormatProvider.