Partager via


NavigationSourceLinkBuilderAnnotation.BuildNavigationLink Méthode

Définition

Construit un Lien de navigation pour un ResourceContext, IEdmNavigationProperty et 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

Paramètres

instanceContext
ResourceContext
navigationProperty
IEdmNavigationProperty
metadataLevel
ODataMetadataLevel

Retours

Uri

S’applique à