Point.ToString 方法
定义
重载
| ToString() |
创建此 String 的 Point 表示形式。Creates a String representation of this Point. |
| ToString(IFormatProvider) |
使用指定的区域性特定的格式设置信息创建此 Point 的 String 表示形式。Creates a String representation of this Point using the specified culture-specific formatting information.. |
注解
此结构表示 Windows 运行时 (WinRT) 结构的 .NET 投影 Point 。This struct represents the .NET projection of the Windows Runtime (WinRT) Point struct. 有关详细信息,请参阅 UWP API 参考中的 点 。For more information, see Point in the UWP API reference.
ToString()
ToString(IFormatProvider)
public:
System::String ^ ToString(IFormatProvider ^ provider);
public string ToString (IFormatProvider provider);
override this.ToString : IFormatProvider -> string
Public Function ToString (provider As IFormatProvider) As String
参数
- provider
- IFormatProvider
区域性特定的格式设置信息。Culture-specific formatting information.
返回
一个 String,其中包含此 Point 结构的X 和 Y 值。A String containing the X and Y values of this Point struct.