Share via


ODataPathSegment Class

 

Provides an object representation for an OData path segment with additional information about the EDM type and entity set for the path.

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

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Routing.ODataPathSegment
    System.Web.Http.OData.Routing.ActionPathSegment
    System.Web.Http.OData.Routing.BatchPathSegment
    System.Web.Http.OData.Routing.CastPathSegment
    System.Web.Http.OData.Routing.EntitySetPathSegment
    System.Web.Http.OData.Routing.KeyValuePathSegment
    System.Web.Http.OData.Routing.LinksPathSegment
    System.Web.Http.OData.Routing.MetadataPathSegment
    System.Web.Http.OData.Routing.NavigationPathSegment
    System.Web.Http.OData.Routing.PropertyAccessPathSegment
    System.Web.Http.OData.Routing.UnresolvedPathSegment
    System.Web.Http.OData.Routing.ValuePathSegment

Syntax

public abstract class ODataPathSegment
public ref class ODataPathSegment abstract 
[<AbstractClass>]
type ODataPathSegment = class end
Public MustInherit Class ODataPathSegment

Constructors

Name Description
System_CAPS_protmethod ODataPathSegment()

Initializes a new instance of the ODataPathSegment class.

Properties

Name Description
System_CAPS_pubproperty SegmentKind

Gets the segment kind for the current segment.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEdmType(IEdmType)

Gets the EDM type for this segment.

System_CAPS_pubmethod GetEntitySet(IEdmEntitySet)

Gets the entity set for this segment.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Routing Namespace

Return to top