public class LayoutUpgradeEventArgs : EventArgs
Public Class LayoutUpgradeEventArgs Inherits EventArgs
The LayoutUpgrade event occurs every time a layout is restored from storage (a stream, xml file or system registry) and its version differs from the version of the current layout. The LayoutUpgradeEventArgs class introduces the LayoutUpgradeEventArgs.PreviousVersion property, which returns the textual representation of the previous layout version.
LayoutUpgradeEventArgs objects are automatically created, initialized and passed to the LayoutUpgrade event handlers.