Share via


ODataRawValueMediaTypeMapping.IsMatch Method

This method determines if the HttpRequestMessage is an OData Raw value request.

Namespace:  System.Web.Http.OData.Formatter
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Protected MustOverride Function IsMatch ( _
    propertySegment As PropertyAccessPathSegment _
) As Boolean
'Usage
Dim propertySegment As PropertyAccessPathSegment 
Dim returnValue As Boolean 

returnValue = Me.IsMatch(propertySegment)
protected abstract bool IsMatch(
    PropertyAccessPathSegment propertySegment
)
protected:
virtual bool IsMatch(
    PropertyAccessPathSegment^ propertySegment
) abstract
abstract IsMatch : 
        propertySegment:PropertyAccessPathSegment -> bool
protected abstract function IsMatch(
    propertySegment : PropertyAccessPathSegment
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the request is an OData raw value request.

See Also

Reference

ODataRawValueMediaTypeMapping Class

System.Web.Http.OData.Formatter Namespace