This documentation is archived and is not being maintained.

PersistenceModeAttribute Members

PersistenceModeAttribute overview

Public Fields

public fieldstatic (Shared in Visual Basic)Attribute Specifies that the property or event persists in the opening tag of the server control as an attribute. This field is read-only.
public fieldstatic (Shared in Visual Basic)Default Specifies the default type for the PersistenceModeAttribute class. The default is PersistenceMode.Attribute. This field is read-only.
public fieldstatic (Shared in Visual Basic)EncodedInnerDefaultProperty 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.
public fieldstatic (Shared in Visual Basic)InnerDefaultProperty Specifies that a property persists as the only inner content of the ASP.NET server control. This field is read-only.
public fieldstatic (Shared in Visual Basic)InnerProperty 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

public propertyMode Gets the current value of the PersistenceMode enumeration.
public propertyTypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

Public Methods

public methodEquals Overridden. See Object.Equals.
public methodGetHashCode Overridden. See Attribute.GetHashCode.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodIsDefaultAttribute Overridden. See Attribute.IsDefaultAttribute.
public methodMatch (inherited from Attribute) When overridden in a derived class, returns a value indicating whether this instance equals a specified object.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

PersistenceModeAttribute Class | System.Web.UI Namespace

Show: