ODataUriUtils.ConvertFromUriLiteral Method (String, ODataVersion)

Converts the given value to a corresponding CLR type. Expects the value to have already been properly unescaped from an actual Uri.

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

Syntax

'Declaration
Public Shared Function ConvertFromUriLiteral ( _
    value As String, _
    version As ODataVersion _
) As Object
'Usage
Dim value As String 
Dim version As ODataVersion 
Dim returnValue As Object 

returnValue = ODataUriUtils.ConvertFromUriLiteral(value, _
    version)
public static Object ConvertFromUriLiteral(
    string value,
    ODataVersion version
)
public:
static Object^ ConvertFromUriLiteral(
    String^ value, 
    ODataVersion version
)
static member ConvertFromUriLiteral : 
        value:string * 
        version:ODataVersion -> Object
public static function ConvertFromUriLiteral(
    value : String, 
    version : ODataVersion
) : Object

Parameters

  • value
    Type: System.String
    The value from a Uri to be converted.

Return Value

Type: System.Object
A CLR object that the value represents.

See Also

Reference

ODataUriUtils Class

ConvertFromUriLiteral Overload

Microsoft.Data.OData.Query Namespace