System.Configuration.SettingsGroupNameAttribute Class

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

See Also: SettingsGroupNameAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class SettingsGroupNameAttribute : Attribute

Remarks

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.

Requirements

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