System.Configuration.SettingsGroupNameAttribute Class

Specifies a name for application settings property group. This class cannot be inherited.

See Also: SettingsGroupNameAttribute Members


public sealed class SettingsGroupNameAttribute : Attribute


A application settings class, derived from System.Configuration.ApplicationSettingsBase, defines one or more properties that belong to the same application settings property group. By default, the group is assigned the name of the settings class. However, System.Configuration.SettingsGroupNameAttribute can be used to explicitly specify a name for the property group. This name can be helpful in organizing large sets of properties, for assistance in design-time programming tools and run-time administrative tools, and so on. The associated settings provider may even use this name to organize settings in the data store.

The System.Configuration.SettingsGroupNameAttribute can only be applied at the class level.


Namespace: System.Configuration
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0