Edit

Share via


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()

Source:
DBNull.cs
Source:
DBNull.cs
Source:
DBNull.cs

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

Applies to

ToString(IFormatProvider)

Source:
DBNull.cs
Source:
DBNull.cs
Source:
DBNull.cs

Returns an empty string using the specified IFormatProvider.

public:
 System::String ^ ToString(IFormatProvider ^ provider);
public:
 virtual System::String ^ ToString(IFormatProvider ^ provider);
public 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