편집

다음을 통해 공유


PersonalizationEntry.Scope Property

Definition

Gets or sets the personalization scope associated with this personalization data entry.

public:
 property System::Web::UI::WebControls::WebParts::PersonalizationScope Scope { System::Web::UI::WebControls::WebParts::PersonalizationScope get(); void set(System::Web::UI::WebControls::WebParts::PersonalizationScope value); };
public System.Web.UI.WebControls.WebParts.PersonalizationScope Scope { get; set; }
member this.Scope : System.Web.UI.WebControls.WebParts.PersonalizationScope with get, set
Public Property Scope As PersonalizationScope

Property Value

The personalization scope associated with this personalization data entry.

Exceptions

scope is set to a value that is not a valid member of PersonalizationScope.

Remarks

This property's effect is similar to specifying the scope associated with a public property using the PersonalizableAttribute class. You can use this property to set the personalization scope of the personalization information that makes up the PersonalizationEntry instance. All entries must have a scope associated with it.

Applies to