System.Configuration Namesp ...


.NET Framework Class Library
SettingsGroupNameAttribute Class

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

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

Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Class)> _
Public NotInheritable Class SettingsGroupNameAttribute _
    Inherits Attribute
Visual Basic (Usage)
Dim instance As SettingsGroupNameAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class SettingsGroupNameAttribute : Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Class)]
public ref class SettingsGroupNameAttribute sealed : public Attribute
JScript
public final class SettingsGroupNameAttribute extends Attribute
Remarks

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.

Inheritance Hierarchy

System..::.Object
  System..::.Attribute
    System.Configuration..::.SettingsGroupNameAttribute
Thread Safety

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

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

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Tags :


Page view tracker