System.Web.UI.PersistenceModeAttribute Members

The members of System.Web.UI.PersistenceModeAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Public Fields

static readonly
AttributePersistenceModeAttribute.

Specifies that the property or event persists in the opening tag of the server control as an attribute. This field is read-only.

static readonly
DefaultPersistenceModeAttribute.

Specifies the default type for the System.Web.UI.PersistenceModeAttribute class. The default is PersistenceMode.Attribute. This field is read-only.

static readonly
EncodedInnerDefaultPropertyPersistenceModeAttribute.

Specifies that a property is HTML-encoded and persists as the only inner content of the ASP.NET server control. This field is read-only.

static readonly
InnerDefaultPropertyPersistenceModeAttribute.

Specifies that a property persists as the only inner content of the ASP.NET server control. This field is read-only.

static readonly
InnerPropertyPersistenceModeAttribute.

Specifies that the property persists as a nested tag within the opening and closing tags of the server control. This field is read-only.

Public Properties

[read-only]
ModePersistenceMode.

Gets the current value of the System.Web.UI.PersistenceMode enumeration.

Public Methods

override
Equals(object) : bool

Compares the System.Web.UI.PersistenceModeAttribute object against another object.

override
GetHashCode() : int

Provides a hash value for a System.Web.UI.PersistenceModeAttribute attribute.

override
IsDefaultAttribute() : bool

Indicates whether the System.Web.UI.PersistenceModeAttribute object is of the default type.