通过


HtmlPageAdapter.PersistCookielessData 属性

定义

设置或返回属性中的 CookielessDataDictionary 项是否保存在查询字符串中。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 property bool PersistCookielessData { bool get(); void set(bool value); };
public bool PersistCookielessData { get; set; }
member this.PersistCookielessData : bool with get, set
Public Property PersistCookielessData As Boolean

属性值

true 如果属性中的项 CookielessDataDictionary 保存在查询字符串中,则为 ;否则为 false

实现

注解

默认情况下,CookielessDataDictionary如果 Web.config 配置节中的MobileControls条目设置为有效的字典类型,则此值true为此值。

适用于

另请参阅