ODataMessageReaderSettings.BaseUri Property

Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Property BaseUri As Uri 
    Get 
    Set
'Usage
Dim instance As ODataMessageReaderSettings 
Dim value As Uri 

value = instance.BaseUri

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

Property Value

Type: System.Uri
The base URI.

Remarks

The value must be an absolute URI.

See Also

Reference

ODataMessageReaderSettings Class

Microsoft.Data.OData Namespace