asp.net.ph

Convert.ToDateTime Method ( Int16 )

System Namespace   Convert Class


Calling this method always throws InvalidCastException.

[ VB ]
Overloads Public Shared Function ToDateTime ( _
   ByVal value As Short _
) As DateTime

[ C# ]
public static DateTime ToDateTime ( 
   short value
);

[ C++ ]
public: static DateTime ToDateTime ( 
   short value
);

[ JScript ]
public static function ToDateTime (
   value : Int16
) : DateTime;

Parameters

value
A 16-bit signed integer.

Return Value

This conversion is not supported. No value is returned.

Exceptions


Exception Type Condition
InvalidCastException This conversion is not supported.

Remarks

This method is reserved for future use.

See Also

Convert Members   Convert.ToDateTime Overload List   Int16ToDateTimeTopic7 Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note