Share via


EntityInstanceContext.Url Property

Gets or sets a UrlHelper that may be used to generate links while serializing this entity instance.

Namespace:  System.Web.Http.OData
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Property Url As UrlHelper 
    Get 
    Set
'Usage
Dim instance As EntityInstanceContext 
Dim value As UrlHelper 

value = instance.Url

instance.Url = value
public UrlHelper Url { get; set; }
public:
property UrlHelper^ Url {
    UrlHelper^ get ();
    void set (UrlHelper^ value);
}
member Url : UrlHelper with get, set
function get Url () : UrlHelper 
function set Url (value : UrlHelper)

Property Value

Type: System.Web.Http.Routing.UrlHelper
A UrlHelper that may be used to generate links while serializing this entity instance.

See Also

Reference

EntityInstanceContext Class

System.Web.Http.OData Namespace