Convert.ThrowTypeMismatch(Object) Method

Definition

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.

Applies to

See also