DBNull.ToString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk