Intersoft ClientUI Documentation
TryConvert(Object,DateTime) Method



The value to convert.
The double value.
Attempts to convert an object into a date time.
Syntax
Public Overloads Shared Function TryConvert( _
   ByVal value As Object, _
   ByRef dateTimeValue As Date _
) As Boolean
Dim value As Object
Dim dateTimeValue As Date
Dim value As Boolean
 
value = ValueHelper.TryConvert(value, dateTimeValue)
public static bool TryConvert( 
   object value,
   out DateTime dateTimeValue
)
public:
static bool TryConvert( 
   Object^ value,
   [Out] DateTime dateTimeValue
) 

Parameters

value
The value to convert.
dateTimeValue
The double value.

Return Value

A value indicating whether the value can be converted to a date time.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ValueHelper Class
ValueHelper Members
Overload List

Send Feedback