編輯

共用方式為


PersonalizableAttribute.Scope Property

Definition

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

public:
 property System::Web::UI::WebControls::WebParts::PersonalizationScope Scope { System::Web::UI::WebControls::WebParts::PersonalizationScope get(); };
public System.Web.UI.WebControls.WebParts.PersonalizationScope Scope { get; }
member this.Scope : System.Web.UI.WebControls.WebParts.PersonalizationScope
Public ReadOnly Property Scope As PersonalizationScope

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