DefaultODataSerializerProvider.GetEdmTypeSerializer Method
Gets an ODataEdmTypeSerializer for the given edmType.
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Overrides Function GetEdmTypeSerializer ( _
edmType As IEdmTypeReference _
) As ODataEdmTypeSerializer
'Usage
Dim instance As DefaultODataSerializerProvider
Dim edmType As IEdmTypeReference
Dim returnValue As ODataEdmTypeSerializer
returnValue = instance.GetEdmTypeSerializer(edmType)
public override ODataEdmTypeSerializer GetEdmTypeSerializer(
IEdmTypeReference edmType
)
public:
virtual ODataEdmTypeSerializer^ GetEdmTypeSerializer(
IEdmTypeReference^ edmType
) override
abstract GetEdmTypeSerializer :
edmType:IEdmTypeReference -> ODataEdmTypeSerializer
override GetEdmTypeSerializer :
edmType:IEdmTypeReference -> ODataEdmTypeSerializer
public override function GetEdmTypeSerializer(
edmType : IEdmTypeReference
) : ODataEdmTypeSerializer
Parameters
- edmType
Type: IEdmTypeReference
The IEdmTypeReference.
Return Value
Type: System.Web.Http.OData.Formatter.Serialization.ODataEdmTypeSerializer
The ODataSerializer.