Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Protected Friend Sub UpdateClientObjectPropertyType ( _
propertyName As String, _
propertyValue As Object, _
reader As JsonReader _
)
'Usage
Dim propertyName As String
Dim propertyValue As Object
Dim reader As JsonReader
Me.UpdateClientObjectPropertyType(propertyName, _
propertyValue, reader)
protected internal void UpdateClientObjectPropertyType(
string propertyName,
Object propertyValue,
JsonReader reader
)
Parameters
propertyName
Type: System.StringThe property name.
propertyValue
Type: System.ObjectThe current property's value.
reader
Type: Microsoft.SharePoint.Client.JsonReaderThe JsonReader whose current position is the property value returned from the server.
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.