This documentation is archived and is not being maintained.

PersonalizationEntry Constructor (Object, PersonalizationScope, Boolean)

Initializes a new instance of the PersonalizationEntry class using the provided parameters.

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

public:
PersonalizationEntry(
	Object^ value, 
	PersonalizationScope scope, 
	bool isSensitive
)

Parameters

value
Type: System::Object

An object of personalization data associated with the personalization scope in the scope parameter.

scope
Type: System.Web.UI.WebControls.WebParts::PersonalizationScope

The PersonalizationScope that applies to the custom personalization information.

isSensitive
Type: System::Boolean

A Boolean value indicating if the custom state information is sensitive and should not be exported.

This constructor allows you to create a PersonalizationEntry that contains data that should not be serialized in the exported Web Part format. If you set the value of isSensitive to true, the Web Parts export handler will not serialize the data for export.

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

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

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: