Share via


NavigationPathSegment Constructor

 

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

Overload List

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.

See Also

NavigationPathSegment Class
System.Web.Http.OData.Routing Namespace

Return to top

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

Return to top

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