Export (0) Print
Expand All

PersistenceModeAttribute Members

Defines the metadata attribute that specifies how an ASP.NET server control property or event is persisted to an ASP.NET page at design time. This class cannot be inherited.

The following tables list the members exposed by the PersistenceModeAttribute type.

  Name Description
Public method PersistenceModeAttribute Initializes a new instance of the PersistenceModeAttribute class.
Top

  Name Description
Public field Static 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 field Static Default Specifies the default type for the PersistenceModeAttribute class. The default is PersistenceMode.Attribute. This field is read-only.
Public field Static 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 field Static InnerDefaultProperty Specifies that a property persists as the only inner content of the ASP.NET server control. This field is read-only.
Public field Static 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.
Top

  Name Description
Public property Mode Gets the current value of the PersistenceMode enumeration.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(inherited from Attribute)
Top

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden.  
Public method Static GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Static GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method GetHashCode Overridden. Provides a hash value for a PersistenceModeAttribute attribute.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsDefaultAttribute Overridden. Indicates whether the PersistenceModeAttribute object is of the default type.
Public method Static IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (inherited from Attribute)
Public method Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (inherited from Attribute)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft