Jaa


ODataPayloadValueConverter.ConvertFromPayloadValue Method

Definition

Converts the given payload value to the type defined in a type definition.

public virtual object ConvertFromPayloadValue (object value, Microsoft.OData.Edm.IEdmTypeReference edmTypeReference);
abstract member ConvertFromPayloadValue : obj * Microsoft.OData.Edm.IEdmTypeReference -> obj
override this.ConvertFromPayloadValue : obj * Microsoft.OData.Edm.IEdmTypeReference -> obj
Public Overridable Function ConvertFromPayloadValue (value As Object, edmTypeReference As IEdmTypeReference) As Object

Parameters

value
Object

The given payload value.

edmTypeReference
IEdmTypeReference

The expected type reference from model.

Returns

The converted value of the type.

Applies to