Share via


ODataPrimitiveValueMediaTypeMapping.IsMatch Method

Determines whether the request is an OData primitive value request.

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

Syntax

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

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

Parameters

Return Value

Type: System.Boolean
true if the request is an OData primitive value request; otherwise, false.

See Also

Reference

ODataPrimitiveValueMediaTypeMapping Class

System.Web.Http.OData.Formatter Namespace