NavigationPathSegment Constructor
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
NavigationPathSegment(IEdmNavigationProperty) | Initializes a new instance of the NavigationPathSegment class. |
|
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.IEdmNavigationPropertyThe 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.StringName of the navigation property.
Return to top