Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | NavigationPathSegment(IEdmNavigationProperty) | Initializes a new instance of the NavigationPathSegment class. | 
| .jpeg) | NavigationPathSegment(String) | Initializes a new instance of the NavigationPathSegment class. | 
See Also
NavigationPathSegment Class
System.Web.OData.Routing Namespace
Return to top
NavigationPathSegment Constructor (IEdmNavigationProperty)
Initializes a new instance of the NavigationPathSegment class.
Syntax
public NavigationPathSegment(
    IEdmNavigationProperty navigationProperty
)
public:
NavigationPathSegment(
    IEdmNavigationProperty^ navigationProperty
)
new : 
        navigationProperty:IEdmNavigationProperty -> NavigationPathSegment
Public Sub New (
    navigationProperty As IEdmNavigationProperty
)
Parameters
- navigationProperty 
 Type: Microsoft.OData.Edm.IEdmNavigationProperty- The navigation property being accessed by this segment. 
Return to top
NavigationPathSegment Constructor (String)
Initializes a new instance of the NavigationPathSegment class.
Syntax
public NavigationPathSegment(
    string navigationPropertyName
)
public:
NavigationPathSegment(
    String^ navigationPropertyName
)
new : 
        navigationPropertyName:string -> NavigationPathSegment
Public Sub New (
    navigationPropertyName As String
)
Parameters
- navigationPropertyName 
 Type: System.String- Name of the navigation property. 
Return to top