TableEntity.WriteUserObject(Object, OperationContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.