DekGenius.com
[ Team LiB ] Previous Section Next Section

PersistenceModeAttribute

System.Web.UI (system.web.dll)sealed class

This attribute specifies how a control property should be persisted in the opening tag in the .aspx file, using one of the PersistenceMode values. You can use this attribute for the properties in any custom controls that you make.

public sealed class PersistenceModeAttribute : Attribute {
// Public Constructors
   public PersistenceModeAttribute(PersistenceMode mode);
// Public Static Fields
   public static readonly PersistenceModeAttribute Attribute;
                   // =System.Web.UI.PersistenceModeAttribute
   public static readonly PersistenceModeAttribute Default;
                   // =System.Web.UI.PersistenceModeAttribute
   public static readonly PersistenceModeAttribute EncodedInnerDefaultProperty;
                   // =System.Web.UI.PersistenceModeAttribute
   public static readonly PersistenceModeAttribute InnerDefaultProperty;
                   // =System.Web.UI.PersistenceModeAttribute
   public static readonly PersistenceModeAttribute InnerProperty;
                   // =System.Web.UI.PersistenceModeAttribute
// Public Instance Properties
   public PersistenceMode Mode{get; }
// Public Instance Methods
   public override bool Equals(object obj);        // overrides Attribute
   public override int GetHashCode( );               // overrides Attribute
   public override bool IsDefaultAttribute( );       // overrides Attribute
}

Hierarchy

System.Object System.Attribute PersistenceModeAttribute

Valid On

All

    [ Team LiB ] Previous Section Next Section