PersonalizableAttribute Constructor (Boolean)

 

Initializes a new instance of the PersonalizableAttribute class using the provided parameter.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public PersonalizableAttribute(
	bool isPersonalizable
)

Parameters

isPersonalizable
Type: System.Boolean

A Boolean value indicating whether the property can be personalized.

This constructor internally sets the IsPersonalizable property to the value of the Boolean parameter, the Scope property to User, and the IsSensitive property to false.

This constructor is useful if you want a derived type to mark a virtual property that is personalizable on the base type as not-personalizable on the derived type.

.NET Framework
Available since 2.0
Return to top
Show: