Click or drag to resize
UrlHelper Methods

The UrlHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckWww
检测是否为www开始的网址,若不是则自动添加
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Public methodStatic memberGetUrlPath
返回完整的URL路径地址(不含文件名)
Public methodStatic memberGetVirtualPath
返回可用的虚拟目录根路径
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodStatic memberMoveURL
进行URL移动(HTTP 301 处理),并结束页运行
Public methodStatic memberRefurl
判断是否有上一页返回,如果存在则返回为上一页绝对URL地址,不存在则返回所输入的新URL
Public methodStatic memberReplaceDomain
替换网址域名(限http与https)
Public methodStatic memberToAbsolute(String, Object)
处理一个路径为可用URL,如果该URL为~/程序路径或/根路径则进行转换处理,否则直接输出原值
Public methodStatic memberToAbsolute(String, Boolean, Object)
处理一个路径为可用URL,如果该URL为~/程序路径或/根路径则进行转换处理,否则直接输出原值
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Top
See Also