OleDateTime 类 |
命名空间: XSharp
OleDateTime 类型公开以下成员。
名称 | 说明 | |
---|---|---|
OleDateTime | Construct an OleDateTime object | |
OleDateTime(DateTime) | Construct an OleDateTime object | |
OleDateTime(__Usual) | Construct an OleDateTime object |
名称 | 说明 | |
---|---|---|
DateTime | The value as a .Net DateTime type. | |
DateVal | The value of the date part of the DateTime object as a Date. | |
TimeString | The value of the time part of the DateTime object as a String. | |
TimeVal | The value of the time part of the DateTime object as a float. |
名称 | 说明 | |
---|---|---|
AsReal8 | Returns the DateTime value as Real8 (the format that is used in COM). | |
AsString | Returns the dateTime value as a String. | |
ToString | Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture. (重写 ToString.) | |
ToString(IFormatProvider) | Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture. | |
ToString(String, IFormatProvider) | Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture. |