ODataPayloadValueConverter.ConvertFromPayloadValue 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.
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.