表示 URI 实用程序方法。
继承层次结构
System.Object
Microsoft.Data.OData.Query.ODataUriUtils
命名空间: Microsoft.Data.OData.Query
程序集: Microsoft.Data.OData(在 Microsoft.Data.OData.dll 中)
语法
声明
Public NotInheritable Class ODataUriUtils
用法
public static class ODataUriUtils
public ref class ODataUriUtils abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type ODataUriUtils = class end
public final class ODataUriUtils
方法
名称 | 说明 | |
---|---|---|
![]() ![]() |
ConvertFromUriLiteral(String, ODataVersion) | 将给定值转换为相应的 CLR 类型。该值应已从实际的 Uri 进行正确的非转义转换。 |
![]() ![]() |
ConvertFromUriLiteral(String, ODataVersion, IEdmModel, IEdmTypeReference) | 将给定值转换为相应的 CLR 类型。该值应已从实际的 Uri 进行正确的非转义转换。 |
![]() ![]() |
ConvertToUriLiteral(Object, ODataVersion) | 将给定对象转换为在 Uri 中使用的字符串。不执行 Uri 提供的任何转义。不使用类型验证。 |
![]() ![]() |
ConvertToUriLiteral(Object, ODataVersion, IEdmModel) | 将给定对象转换为在 Uri 中使用的字符串。不执行 Uri 提供的任何转义。如有可能,将基于给定模型执行类型验证。 |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。