DBNull.ToString Method (IFormatProvider)

 

Returns an empty string using the specified System.IFormatProvider.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

public string ToString(
	IFormatProvider provider
)

Parameters

provider
Type: System.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.

Return Value

Type: System.String

An empty string (String.Empty).

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: