Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ClientObject.UpdateClientObjectPropertyType method

SharePoint 2013

Updates the client object property's value to have correct type by using the type information returned from the server.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)  Microsoft.SharePoint.Client.Phone.Runtime (in Microsoft.SharePoint.Client.Phone.Runtime.dll)
protected internal void UpdateClientObjectPropertyType(
	string propertyName,
	Object propertyValue,
	JsonReader reader


Type: System.String

The property name.

Type: System.Object

The current property's value.

Type: Microsoft.SharePoint.Client.JsonReader

The JsonReader whose current position is the property value returned from the server.

Should a property be defined as type of a base type and the data returned from the server is the derived type, the method will update the property value to be the derived type.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.