PersonalizableAttribute.Scope Property

Definition

Gets the PersonalizationScope enumeration value for the class instance, as set by one of the constructors.

C#
public System.Web.UI.WebControls.WebParts.PersonalizationScope Scope { get; }

Property Value

A PersonalizationScope enumeration value.

Remarks

This value is set when an instance of the PersonalizableAttribute class is created.

This property controls when the property value is saved and loaded, depending on the Scope property of the page.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1