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.

.NET Framework
Available since 2.0
Return to top
Show: