|
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.ConfigurationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxfunction get_UseCategoryAttributes();
function set_UseCategoryAttributes(value);
View SourceProperty 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