共用方式為


TableEntity.ReadUserObject Method

Definition

Deserializes a custom entity instance using the specified IDictionary<TKey,TValue> of property names to EntityProperty data typed values.

public static void ReadUserObject (object entity, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Cosmos.Table.EntityProperty> properties, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
static member ReadUserObject : obj * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Cosmos.Table.EntityProperty> * Microsoft.Azure.Cosmos.Table.OperationContext -> unit
Public Shared Sub ReadUserObject (entity As Object, properties As IDictionary(Of String, EntityProperty), operationContext As OperationContext)

Parameters

entity
Object

The custom entity instance being deserialized.

properties
IDictionary<String,EntityProperty>

An IDictionary<TKey,TValue> object that maps string property names to EntityProperty data values to deserialize and store in this table entity instance.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

Applies to