Share via


TableEntity.WriteUserObject(Object, OperationContext) Method

Definition

Create a IDictionary<TKey,TValue> of EntityProperty objects for all the properties of the specified entity object.

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

Parameters

entity
Object

The entity object to serialize.

operationContext
OperationContext

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

Returns

An IDictionary<TKey,TValue> of EntityProperty objects for all the properties of the specified entity object.

Applies to