OleDateTime.ToString 方法 (String, 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(
s AS STRING,
fp AS IFormatProvider
) AS STRING
public virtual string ToString(
string s,
IFormatProvider fp
)
查看代码参数
- s
- 类型:String
- fp
- 类型: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. |
参见