类库说明文档
JHCookie Class |
获取或设置 Cookie 的值,该类为密封类
Inheritance Hierarchy
Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHCookie
The JHCookie type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetTtype(String) |
获取 Cookie 中指定键的值,已去除首尾空格并解码,如果异常或获取为 null,则返回当前类型的默认值 default(Ttype)
| |
GetTtype(String, Ttype) |
获取 Cookie 中指定键的值,已去除首尾空格并解码
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Set(String, String) |
设置 Cookie 的值,该 value 值会被去除首尾空格并编码后写入 Cookie
| |
Set(String, String, NullableDateTime) |
设置 Cookie 的值,该 value 值会被去除首尾空格并编码后写入 Cookie
| |
ToString | (Inherited from Object.) |
See Also