
670
|
Chapter 36: The System.Web.UI Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ PersistenceMode
Returned By
PersistenceModeAttribute.Mode
Passed To
PersistenceModeAttribute.PersistenceModeAttribute( )
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.
Hierarchy
System.Object ➝ System.Attribute ➝ PersistenceModeAttribute
Valid On
All
PropertyConverter
System.Web.UI (system.web.dll)
sealed class
This class is used by the .NET framework, not directly by your own code.
InnerDefaultProperty = 2,
EncodedInnerDefaultProperty = 3
}
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 ...