Edit

Share via


ObjectPrototype.valueOf(Object) Method

Definition

Returns the specified object.

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

public:
 static System::Object ^ valueOf(System::Object ^ thisob);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Object_valueOf)]
public static object valueOf (object thisob);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Object_valueOf)>]
static member valueOf : obj -> obj
Public Shared Function valueOf (thisob As Object) As Object

Parameters

thisob
Object

The object that this method is acting upon.

Returns

thisob.

Attributes

Applies to