Share via


ODataPathExtensions.GetNavigationSource(ODataPath) Method

Definition

Computes the IEdmNavigationSource of the resource identified by this ODataPath.

public static Microsoft.OData.Edm.IEdmNavigationSource GetNavigationSource (this Microsoft.OData.UriParser.ODataPath path);
static member GetNavigationSource : Microsoft.OData.UriParser.ODataPath -> Microsoft.OData.Edm.IEdmNavigationSource
<Extension()>
Public Function GetNavigationSource (path As ODataPath) As IEdmNavigationSource

Parameters

path
ODataPath

Path to compute the set for.

Returns

The IEdmNavigationSource of the resource, or null if the path does not identify a resource that is part of a set.

Applies to