Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UserSettingsGroup Class

Represents a grouping of related user settings sections within a configuration file. This class cannot be inherited.

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

public sealed class UserSettingsGroup : ConfigurationSectionGroup

The UserSettingsGroup type exposes the following members.

  NameDescription
Public methodUserSettingsGroupInitializes a new instance of the UserSettingsGroup class.
Top

  NameDescription
Public propertyIsDeclarationRequiredGets a value that indicates whether this ConfigurationSectionGroup object declaration is required. (Inherited from ConfigurationSectionGroup.)
Public propertyIsDeclaredGets a value that indicates whether this ConfigurationSectionGroup object is declared. (Inherited from ConfigurationSectionGroup.)
Public propertyNameGets the name property of this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertySectionGroupNameGets the section group name associated with this ConfigurationSectionGroup. (Inherited from ConfigurationSectionGroup.)
Public propertySectionGroupsGets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertySectionsGets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public propertyTypeGets or sets the type for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodForceDeclaration()Forces the declaration for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public methodForceDeclaration(Boolean)Forces the declaration for this ConfigurationSectionGroup object. (Inherited from ConfigurationSectionGroup.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodShouldSerializeSectionGroupInTargetVersionIndicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework. (Inherited from ConfigurationSectionGroup.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Because some configuration sections are related, it is often convenient to group them together within a single section group.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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