Share via


NavigationPathSegment Class

 

An ODataPathSegment implementation representing a navigation.

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.NavigationPathSegment

Syntax

public class NavigationPathSegment : ODataPathSegment
public ref class NavigationPathSegment : ODataPathSegment
type NavigationPathSegment = 
    class
        inherit ODataPathSegment
    end
Public Class NavigationPathSegment
    Inherits ODataPathSegment

Constructors

Name Description
System_CAPS_pubmethod NavigationPathSegment(IEdmNavigationProperty)

Initializes a new instance of the NavigationPathSegment class.

System_CAPS_pubmethod NavigationPathSegment(String)

Initializes a new instance of the NavigationPathSegment class.

Properties

Name Description
System_CAPS_pubproperty NavigationProperty

Gets the navigation property being accessed by this segment.

System_CAPS_pubproperty NavigationPropertyName

Gets the name of the navigation property.

System_CAPS_pubproperty SegmentKind

Gets the segment kind for the current segment. (Overrides ODataPathSegment.SegmentKind.)

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. (Overrides ODataPathSegment.GetEdmType(IEdmType).)

System_CAPS_pubmethod GetEntitySet(IEdmEntitySet)

Gets the entity set for this segment. (Overrides ODataPathSegment.GetEntitySet(IEdmEntitySet).)

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

Returns a String that represents this instance. (Overrides Object.ToString().)

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