Export (0) Print
Expand All

DBNull Methods

The methods of the DBNull class are listed here. For a complete list of DBNull class members, see the DBNull Members topic.

Public Methods

public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetObjectData Implements the ISerializable interface and returns the data needed to serialize the DBNull object.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodGetTypeCode

Supported by the .NET Compact Framework.

Gets the TypeCode value for DBNull.
public methodToString

Supported by the .NET Compact Framework.

Overloaded. Overridden. Returns an empty string.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

DBNull Class | System Namespace

Show:
© 2014 Microsoft