Επεξεργασία

Κοινή χρήση μέσω


RepeatBehavior.IFormattable.ToString(String, IFormatProvider) Method

Definition

For a description of this member, see ToString(String, IFormatProvider).

 virtual System::String ^ System.IFormattable.ToString(System::String ^ format, IFormatProvider ^ formatProvider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider formatProvider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, formatProvider As IFormatProvider) As String Implements IFormattable.ToString

Parameters

format
String

The string specifying the format to use, or null to use the default format defined for the type of the IFormattable implementation.

formatProvider
IFormatProvider

An object that provides formatting information for value, or null to obtain the numeric format information from the current culture.

Returns

A string containing the value of the current instance in the specified format.

Implements

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) RepeatBehavior struct. For more information, see RepeatBehavior in the UWP API reference.

Applies to