Export (0) Print
Expand All

SettingsGroupNameAttribute Class

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

Namespace: System.Configuration
Assembly: System (in system.dll)

[AttributeUsageAttribute(AttributeTargets.Class)] 
public sealed class SettingsGroupNameAttribute : Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Class) */ 
public final class SettingsGroupNameAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Class) 
public final class SettingsGroupNameAttribute extends Attribute
Not applicable.

A application settings class, derived from 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, 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 SettingsGroupNameAttribute can only be applied at the class level.

System.Object
   System.Attribute
    System.Configuration.SettingsGroupNameAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft