OleDateTime.ToString 方法 (IFormatProvider) | |
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
命名空间:
XSharp
程序集:
XSharp.VO (在 XSharp.VO.dll 中) 版本:2.22 GA
语法 VIRTUAL METHOD ToString(
provider AS IFormatProvider
) AS STRING
public virtual string ToString(
IFormatProvider provider
)
查看代码参数
- provider
- 类型:IFormatProvider
返回值
类型:
StringA string representation of the value of the current
DateTime object.
异常 异常 | 条件 |
---|
ArgumentOutOfRangeException | The date and time is outside the range of dates supported by the calendar used by the current culture. |
参见