NumberConstructor.Invoke(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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.