DBNull.ToString Method

Definition

Returns an empty string.

Overloads

ToString()

Returns an empty string (Empty).

ToString(IFormatProvider)

Returns an empty string using the specified IFormatProvider.

ToString()

Returns an empty string (Empty).

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

An empty string (Empty).

See also

ToString(IFormatProvider)

Returns an empty string using the specified IFormatProvider.

public:
 virtual System::String ^ ToString(IFormatProvider ^ provider);
public string ToString (IFormatProvider provider);
override this.ToString : IFormatProvider -> string
Public Function ToString (provider As IFormatProvider) As String

Parameters

provider
IFormatProvider

The IFormatProvider to be used to format the return value.

-or-

null to obtain the format information from the current locale setting of the operating system.

Returns

An empty string (Empty).

Implements

See also

Applies to