PersistenceModeAttribute.Mode Property

 

Gets the current value of the PersistenceMode enumeration.

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

Public ReadOnly Property Mode As PersistenceMode

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(GetType(TemplateItem))> Public Property MessageTemplate() As ITemplate
   Get
      Return _messageTemplate
   End Get
   Set(ByVal Value As ITemplate)
      _messageTemplate = Value
   End Set
End Property

.NET Framework
Available since 1.1
Return to top
Show: