asp.net.ph

Convert.ToInt16 Method ( DateTime )

System Namespace   Convert Class


Calling this method always throws InvalidCastException.

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

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

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

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

Parameters

value
A DateTime.

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.ToInt16 Overload List   DateTime Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph