Retrieves a suitable exception to throw when a conversion cannot be performed.
[Visual Basic] Protected Function GetConvertToException( _ ByVal value As Object, _ ByVal destinationType As Type _ ) As Exception [C#] protected Exception GetConvertToException( object value, Type destinationType ); [C++] protected: Exception* GetConvertToException( Object* value, Type* destinationType ); [JScript] protected function GetConvertToException( value : Object, destinationType : Type ) : Exception;
TypeConverter Class | TypeConverter Members | System.ComponentModel Namespace