[This is preliminary documentation and is subject to change.]

Gets the canonical link for a model.

Namespace: Simple.Web.LinksSimple.Web.LinksSimple::Web::Links
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public static Link GetCanonicalLinkForModel(

object model

)

VB

Public Shared Function GetCanonicalLinkForModel( _

model As Object _

) As Link

C++

public:

static Link^ GetCanonicalLinkForModel(

Object^ model

)

Parameters

Return Value

Type: Simple.Web.Links.LinkSimple.Web.Links.LinkSimple::Web::Links::Link
A LinkLinkLink object representing the canonical URI for the model, if one is found.

See Also

LinkHelperLinkHelperLinkHelper Class
Simple.Web.LinksSimple.Web.LinksSimple::Web::Links Namespace