Table of Contents

Class ODataBinaryValueMediaTypeMapping

Namespace
System.Web.Http.OData.Formatter
Assembly
System.Web.Http.OData.dll

Media type mapping that associates requests for the raw value of binary properties to the application/octet-stream content type.

public class ODataBinaryValueMediaTypeMapping : ODataRawValueMediaTypeMapping
Inheritance
ODataBinaryValueMediaTypeMapping
Inherited Members

Constructors

ODataBinaryValueMediaTypeMapping()

Initializes a new instance of the ODataBinaryValueMediaTypeMapping class.

public ODataBinaryValueMediaTypeMapping()

Methods

IsMatch(PropertyAccessPathSegment)

protected override bool IsMatch(PropertyAccessPathSegment propertySegment)

Parameters

propertySegment PropertyAccessPathSegment

Returns

bool