SP.DataConvert.fixupType(context, obj) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Sets the type of an object to its internal object type.
var value = SP.DataConvert.fixupType(context, obj);
Parameters
context
Type: SP.ClientRuntimeContext
The client runtime context for accessing data from and invoking methods on a remote object.
obj
Type: Object
The object to set to its internal object type.
Return Value
Type: Object
The typed client object.
Remarks
This method converts the object specified by the obj parameter to a typed client object according to the object type in the object.