PersistenceModeAttribute.Mode Property

 

Gets the current value of the PersistenceMode enumeration.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public PersistenceMode Mode { get; }

Property Value

Type: System.Web.UI.PersistenceMode

A PersistenceMode that represents the current value of the enumeration. This value can be Attribute, InnerProperty, InnerDefaultProperty, or EncodedInnerDefaultProperty. The default is Attribute.

[PersistenceMode(PersistenceMode.InnerProperty),
TemplateContainer(typeof(TemplateItem))]
public ITemplate MessageTemplate {
   get {
      return _messageTemplate;
   }
   set {
      _messageTemplate = value;
   }
}

.NET Framework
Available since 1.1
Return to top
Show: