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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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