RestoreBehavior Enum

Definition

Indicates the behavior to use when restoring state for a component parameter.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum RestoreBehavior
[<System.Flags>]
type RestoreBehavior = 
Public Enum RestoreBehavior
Inheritance
RestoreBehavior
Attributes

Fields

Name Value Description
Default 0

Restore the value in all situations.

SkipInitialValue 1

Avoid restoring the initial value when the host starts up.

SkipLastSnapshot 2

Avoid restoring the last value captured when the current host was shut down.

Remarks

By default, it always restores the value in all situations. Use SkipInitialValue to skip restoring the initial value when the host starts up. Use SkipLastSnapshot to skip restoring the last value captured the last time the current host was shut down, if the host supports restarting.

Applies to