Click or drag to resize

CategorizedSettingsBaseUseCategoryAttributes Property

Gets or sets value that determines whether a CategoryAttribute applied to a field or property will be used for the category name.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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 CategoryName value; otherwise, if a CategoryAttribute exists on a field or property then the member value will serialized into the configuration file in a section labeled the same as the Category value and if the attribute doesn't exist the member value will serialized into the section labeled by the CategoryName value.
See Also