点击或拖拽改变大小

OleDateTime 类

X#
VO Compatible class to store DateTime values in OLE Automation
继承层次
Object
  OleDateTime

命名空间:  XSharp
程序集:  XSharp.VO (在 XSharp.VO.dll 中) 版本:2.22 GA
语法
 CLASS OleDateTime
查看代码

OleDateTime 类型公开以下成员。

构造函数
  名称说明
公共方法OleDateTime
Construct an OleDateTime object
公共方法OleDateTime(DateTime)
Construct an OleDateTime object
公共方法OleDateTime(__Usual)
Construct an OleDateTime object
Top
属性
  名称说明
公共属性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.
Top
方法
  名称说明
公共方法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.
Top
参见