Share via


Troubleshooting Exceptions: System.ArrayTypeMismatchException

An ArrayTypeMismatchException exception is thrown when the system cannot convert the element to the type declared for the array.

Associated Tips

  • Make sure the object type is convertible to the array type.
    A conversion must be possible between the two types.

    For more information, Visual Basic users can see Arrays in Visual Basic.

See Also

Tasks

How to: Use the Exception Assistant

Reference

ArrayTypeMismatchException