An ODataPathSegment implementation representing a navigation.
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.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 | |
|---|---|---|
| .jpeg) | NavigationPathSegment(IEdmNavigationProperty) | Initializes a new instance of the NavigationPathSegment class. | 
| .jpeg) | NavigationPathSegment(String) | Initializes a new instance of the NavigationPathSegment class. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | NavigationProperty | Gets the navigation property being accessed by this segment. | 
| .jpeg) | NavigationPropertyName | Gets the name of the navigation property. | 
| .jpeg) | SegmentKind | Gets the segment kind for the current segment.(Overrides ODataPathSegment.SegmentKind.) | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GetEdmType(IEdmType) | (Overrides ODataPathSegment.GetEdmType(IEdmType).) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetNavigationSource(IEdmNavigationSource) | (Overrides ODataPathSegment.GetNavigationSource(IEdmNavigationSource).) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | ToString() | Returns a String that represents this instance.(Overrides Object.ToString().) | 
| .jpeg) | TryMatch(ODataPathSegment, IDictionary<String, Object>) | (Overrides ODataPathSegmentTemplate.TryMatch(ODataPathSegment, IDictionary<String, 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.OData.Routing Namespace
Return to top