PersonalizationEntry.Scope Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET