SharedPersonalizationStateInfo::CountOfPersonalizations Property

 

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:
property int CountOfPersonalizations {
	int get();
}

Property Value

Type: System::Int32

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.

.NET Framework
Available since 2.0
Return to top
Show: