| |||||||||||||||||||
InvalidCastException ClassThe exception that is thrown for invalid casting or explicit conversion.
Remarks [ C#, C++ ]InvalidCastException is thrown if:
For an explicit reference conversion to be successful, the source value must be a null reference ( Nothing in Visual Basic ), or that the object type referenced by the source argument is convertible to the destination type by an implicit reference conversion. InvalidCastException uses the HRESULT COR_E_INVALIDCAST, which has the value 0x80004002. For a list of initial property values for an instance of InvalidCastException, see the InvalidCastException constructors. See Also |
| ||||||||||||||||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme