ConvertHelperToDateTime Method |
将类型装换为DateTime类型
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static DateTime ToDateTime(
Object obj,
DateTime defaultValue
)
Public Shared Function ToDateTime (
obj As Object,
defaultValue As DateTime
) As DateTime
public:
static DateTime ToDateTime(
Object^ obj,
DateTime defaultValue
)
static member ToDateTime :
obj : Object *
defaultValue : DateTime -> DateTime
Parameters
- obj
- Type: SystemObject
object类型 - defaultValue
- Type: SystemDateTime
默认值,若无默认值可设置为 MinValue
Return Value
Type:
DateTimeDateTime类型
See Also