Edit

Share via


PersistenceModeAttribute(PersistenceMode) Constructor

Definition

Initializes a new instance of the PersistenceModeAttribute class.

public:
 PersistenceModeAttribute(System::Web::UI::PersistenceMode mode);
public PersistenceModeAttribute (System.Web.UI.PersistenceMode mode);
new System.Web.UI.PersistenceModeAttribute : System.Web.UI.PersistenceMode -> System.Web.UI.PersistenceModeAttribute
Public Sub New (mode As PersistenceMode)

Parameters

mode
PersistenceMode

The PersistenceMode value to assign to Mode.

Exceptions

mode is not one of the PersistenceMode values.

Applies to