This documentation is archived and is not being maintained.

SharedPersonalizationStateInfo.CountOfPersonalizations Property

Note: This property is new in the .NET Framework version 2.0.

Gets the total number of users that have personalized a page.

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)

public int CountOfPersonalizations { get; }
/** @property */
public int get_CountOfPersonalizations ()

public function get CountOfPersonalizations () : int

Property Value

The total number of per-user personalization settings that have been applied to a page.

This property returns the total number of users that have personalized a page. For example, if 100 users personalize a page, then the value of CountOfPersonalizations for that page would be 100, not 100 multiplied by the number of personalized properties. Note that this count might or might not match the total number of rows used in the underlying data store to persist per-user information, because some data storage providers use multiple rows to store per-user personalization information for a single user and page combination.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0