Convert.ThrowTypeMismatch(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws a JScriptException exception in all cases.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static void ThrowTypeMismatch(System::Object ^ val);
public static void ThrowTypeMismatch (object val);
static member ThrowTypeMismatch : obj -> unit
Public Shared Sub ThrowTypeMismatch (val As Object)
Parameters
- val
- Object
The source code that caused the exception.