Share via


ODataUriUtils Class

Represents the URI Utility methods.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.Query.ODataUriUtils

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

Syntax

'Declaration
Public NotInheritable Class ODataUriUtils
'Usage
public static class ODataUriUtils
public ref class ODataUriUtils abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ODataUriUtils =  class end
public final class ODataUriUtils

Methods

  Name Description
Public methodStatic member ConvertFromUriLiteral(String, ODataVersion) Converts the given value to a corresponding CLR type. Expects the value to have already been properly unescaped from an actual Uri.
Public methodStatic member ConvertFromUriLiteral(String, ODataVersion, IEdmModel, IEdmTypeReference) Converts the given value to a corresponding CLR type. Expects the value to have already been properly unescaped from an actual Uri.
Public methodStatic member ConvertToUriLiteral(Object, ODataVersion) Converts the given object to a string for use in a Uri. Does not perform any of the escaping that Uri provides. No type verification is used.
Public methodStatic member ConvertToUriLiteral(Object, ODataVersion, IEdmModel) Converts the given object to a string for use in a Uri. Does not perform any of the escaping that Uri provides. Will perform type verification based on the given model if possible.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.OData.Query Namespace