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.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Routing.ODataPathSegmentTemplate
    System.Web.OData.Routing.ODataPathSegment
      System.Web.OData.Routing.BatchPathSegment
      System.Web.OData.Routing.BoundActionPathSegment
      System.Web.OData.Routing.BoundFunctionPathSegment
      System.Web.OData.Routing.CastPathSegment
      System.Web.OData.Routing.ComplexCastPathSegment
      System.Web.OData.Routing.CountPathSegment
      System.Web.OData.Routing.DynamicPropertyPathSegment
      System.Web.OData.Routing.EntitySetPathSegment
      System.Web.OData.Routing.KeyValuePathSegment
      System.Web.OData.Routing.MetadataPathSegment
      System.Web.OData.Routing.NavigationPathSegment
      System.Web.OData.Routing.PropertyAccessPathSegment
      System.Web.OData.Routing.RefPathSegment
      System.Web.OData.Routing.SingletonPathSegment
      System.Web.OData.Routing.UnboundActionPathSegment
      System.Web.OData.Routing.UnboundFunctionPathSegment
      System.Web.OData.Routing.UnresolvedPathSegment
      System.Web.OData.Routing.ValuePathSegment

Syntax

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

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 GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetNavigationSource(IEdmNavigationSource)

Gets the navigation source for this segment.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod TryMatch(ODataPathSegment, IDictionary<String, Object>)

Matches the template with an ODataPathSegment.(Inherited from ODataPathSegmentTemplate.)

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.OData.Routing Namespace

Return to top