Share via


ReadOptions Enum

Definition

Options for reading settings values.

This enumeration supports a bitwise combination of its member values.

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

Fields

NoFallbackToDefault 4

Return an error rather than the default value if the persisted value can't be converted to the target type or if validation is requested and the persisted value doesn't pass validation criteria.

NoRequirements 0

Return the stored value without performing any checks.

RequireRegistration 1

Fail if the setting is not registered.

RequireValidation 3

Fail if the setting is not registered or not valid according to the registration.

Applies to