Click or drag to resize

IniSettingsBaseUseCategoryAttributes Property

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

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
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 SectionName value; otherwise, if a CategoryAttribute exists on a field or property then the member value will serialized into the INI 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 SectionName value.
See Also