Share via


NavigationSourceLinkBuilderAnnotation.BuildNavigationLink Method

Definition

Constructs a NavigationLink for a particular ResourceContext, IEdmNavigationProperty and ODataMetadataLevel.

public virtual Uri BuildNavigationLink (Microsoft.AspNet.OData.ResourceContext instanceContext, Microsoft.OData.Edm.IEdmNavigationProperty navigationProperty, Microsoft.AspNet.OData.Formatter.ODataMetadataLevel metadataLevel);
abstract member BuildNavigationLink : Microsoft.AspNet.OData.ResourceContext * Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.AspNet.OData.Formatter.ODataMetadataLevel -> Uri
override this.BuildNavigationLink : Microsoft.AspNet.OData.ResourceContext * Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.AspNet.OData.Formatter.ODataMetadataLevel -> Uri
Public Overridable Function BuildNavigationLink (instanceContext As ResourceContext, navigationProperty As IEdmNavigationProperty, metadataLevel As ODataMetadataLevel) As Uri

Parameters

instanceContext
ResourceContext
navigationProperty
IEdmNavigationProperty
metadataLevel
ODataMetadataLevel

Returns

Uri

Applies to