Partager 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 Overview of Arrays in Visual Basic.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant

Reference

Visual J# Exception Handling for the Debugger
Visual J# Exception Hierarchies
ArrayTypeMismatchException