ClientObject.UpdateClientObjectPropertyType 方法

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

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中)

语法

声明
Protected Friend Sub UpdateClientObjectPropertyType ( _
    propertyName As String, _
    propertyValue As Object, _
    reader As JsonReader _
)
用法
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
)

参数

  • propertyValue
    类型:System.Object

    The current property's value.

备注

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.

另请参阅

引用

ClientObject 类

ClientObject 成员

Microsoft.SharePoint.Client 命名空间