Прочетете на английски Редактиране

Споделяне чрез


Rect.IFormattable.ToString(String, IFormatProvider) Method

Definition

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

C#
string IFormattable.ToString(string format, IFormatProvider provider);

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.

provider
IFormatProvider

An object that provides formatting information, 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) Rect struct. For more information, see Rect in the UWP API reference.

Applies to

Продукт Версии
UWP 10.0