Boolean.IConvertible.ToString(IFormatProvider) Method

Definition

Converts the value of this instance to an equivalent string using the specified culture-specific formatting information.

C#
string IConvertible.ToString(IFormatProvider provider);

Parameters

provider
IFormatProvider

An object that supplies culture-specific formatting information.

Returns

A string instance equivalent to the value of this instance.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the Boolean instance is cast to an IConvertible interface.

Applies to

Produkt Verzie
.NET Core 1.0, Core 1.1
.NET Standard 1.3, 1.4, 1.5, 1.6
UWP 10.0