Share via


ODataUriUtils.ConvertToUriLiteral Method

Include Protected Members
Include Inherited Members

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
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.
Public methodStatic member ConvertToUriLiteral(Object, ODataVersion, IEdmModel, ODataFormat) 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.

Top

See Also

Reference

ODataUriUtils Class

Microsoft.Data.OData.Query Namespace