Share via


ODataSerializerContext.Url Property

Gets or sets the UrlHelper to use for generating OData links.

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

Syntax

'Declaration
Public Property Url As UrlHelper 
    Get 
    Set
'Usage
Dim instance As ODataSerializerContext 
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
The UrlHelper to use for generating OData links.

See Also

Reference

ODataSerializerContext Class

System.Web.Http.OData.Formatter.Serialization Namespace