Click or drag to resize

RegistrySettingsBaseUseCategoryAttributes Property

Gets or sets value that determines whether a CategoryAttribute applied to a field or property will be used for the registry key names.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
[BrowsableAttribute(false)]
[SerializeSettingAttribute(false)]
public bool UseCategoryAttributes { get; set; }
View Source

Property Value

Boolean
Remarks
If UseCategoryAttributes is false, all settings will be placed in section labeled by the KeyName value; otherwise, if a CategoryAttribute exists on a field or property then the member value will serialized into the registry in a section labeled the same as the Category value and if the attribute doesn't exist the member value will stored in the registry key identified by the KeyName value.
See Also