LinkGenerationHelpers.GenerateFeedSelfLink Method (FeedContext)
Generates a feed self link following the OData URL conventions for the feed represented by feedContext.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public static Uri GenerateFeedSelfLink(
this FeedContext feedContext
)
public:
[ExtensionAttribute]
static Uri^ GenerateFeedSelfLink(
FeedContext^ feedContext
)
static member GenerateFeedSelfLink :
feedContext:FeedContext -> Uri
<ExtensionAttribute>
Public Shared Function GenerateFeedSelfLink (
feedContext As FeedContext
) As Uri
Parameters
feedContext
Type: System.Web.Http.OData.FeedContextThe FeedContext representing the feed for which the self link needs to be generated.
Return Value
Type: System.Uri
The generated feed self link following the OData URL conventions.
See Also
LinkGenerationHelpers Class
System.Web.Http.OData.Builder Namespace
Return to top