Convert..::..ToDateTime Method (Object, IFormatProvider)
Converts the value of the specified object to a DateTime object, using the specified culture-specific formatting information.
Note: Calling this method for built-in types (except [DateTime], [string]) always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static DateTime ToDateTime( Object value, IFormatProvider provider )
<TemplateAttribute> _ Public Shared Function ToDateTime ( _ value As Object, _ provider As IFormatProvider _ ) As DateTime
[TemplateAttribute] public: static DateTime^ ToDateTime( Object^ value, IFormatProvider^ provider )