UserPersonalizationStateInfo 类
定义
表示页面和用户的因每个用户而异的个性化信息。Represents the per-user personalization information for a page and a user. 此类不能被继承。This class cannot be inherited.
public ref class UserPersonalizationStateInfo sealed : System::Web::UI::WebControls::WebParts::PersonalizationStateInfo
[System.Serializable]
public sealed class UserPersonalizationStateInfo : System.Web.UI.WebControls.WebParts.PersonalizationStateInfo
[<System.Serializable>]
type UserPersonalizationStateInfo = class
inherit PersonalizationStateInfo
Public NotInheritable Class UserPersonalizationStateInfo
Inherits PersonalizationStateInfo
- 继承
- 属性
注解
此类可用于每个用户,以确定有关单个用户的个性化设置的统计信息。This class can be used on a per-user basis to determine statistical information about an individual user's personalization settings.
构造函数
| UserPersonalizationStateInfo(String, DateTime, Int32, String, DateTime) |
初始化 UserPersonalizationStateInfo 类的新实例。Initializes a new instance of the UserPersonalizationStateInfo class. |
属性
| LastActivityDate |
获取用户在与页关联的 ASP.NET 应用程序中处于活动状态的最后一刻的时间。Gets the last time the user was active in the ASP.NET application associated with a page. |
| LastUpdatedDate |
获取上次更新个性化状态的日期和时间。Gets the date and time that the personalization state was last updated. (继承自 PersonalizationStateInfo) |
| Path |
获取与个性化设置状态信息关联的页的路径。Gets the path to the page associated with the personalization state information. (继承自 PersonalizationStateInfo) |
| Size |
获取存储在基础数据存储区的个性化设置状态信息的大小。Gets the size of the personalization state information stored in the underlying data store. (继承自 PersonalizationStateInfo) |
| Username |
获取要应用页的个性化信息的用户名。Gets the user name to which the personalization information for a page applies. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |