Share via


ClientObject.UpdateClientObjectPropertyType method

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

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

protected internal void UpdateClientObjectPropertyType(
    string propertyName,
    Object propertyValue,
    JsonReader reader
)

Parameters

  • propertyValue
    Type: System.Object

    The current property's value.

Remarks

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.

See also

Reference

ClientObject class

ClientObject members

Microsoft.SharePoint.Client namespace