Edit

Share via


NumberConstructor.Invoke(Object) Method

Definition

Converts the specified object to a number.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 double Invoke(System::Object ^ arg);
public double Invoke (object arg);
override this.Invoke : obj -> double
Public Function Invoke (arg As Object) As Double

Parameters

arg
Object

The object to convert.

Returns

arg expressed as a number, if that is possible.

Applies to

See also