Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an ODataComplexValue for the object represented by graph.
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual ODataComplexValue CreateODataComplexValue(
object graph,
IEdmComplexTypeReference complexType,
ODataSerializerContext writeContext
)
public:
virtual ODataComplexValue^ CreateODataComplexValue(
Object^ graph,
IEdmComplexTypeReference^ complexType,
ODataSerializerContext^ writeContext
)
abstract CreateODataComplexValue :
graph:Object *
complexType:IEdmComplexTypeReference *
writeContext:ODataSerializerContext -> ODataComplexValue
override CreateODataComplexValue :
graph:Object *
complexType:IEdmComplexTypeReference *
writeContext:ODataSerializerContext -> ODataComplexValue
Public Overridable Function CreateODataComplexValue (
graph As Object,
complexType As IEdmComplexTypeReference,
writeContext As ODataSerializerContext
) As ODataComplexValue
Parameters
graph
Type: System.ObjectThe value of the ODataComplexValue to be created.
complexType
Type: Microsoft.Data.Edm.IEdmComplexTypeReferenceThe EDM complex type of the object.
writeContext
Type: System.Web.Http.OData.Formatter.Serialization.ODataSerializerContextThe serializer context.
Return Value
Type: Microsoft.Data.OData.ODataComplexValue
The created ODataComplexValue.
See Also
ODataComplexTypeSerializer Class
System.Web.Http.OData.Formatter.Serialization Namespace
Return to top