SettingsGroupNameAttribute(String) Constructor

Definition

Initializes a new instance of the SettingsGroupNameAttribute class.

public SettingsGroupNameAttribute (string groupName);

Parameters

groupName
String

A String containing the name of the application settings property group.

Remarks

Although the theoretical maximum length of the groupName parameter is constrained by the upper bounds of an Int32, practical limits, determined by usability and quota limitations imposed by the settings provider, will be much smaller.

注意

The settings group name does not need to be unique.

Applies to

製品 バージョン
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also