SettingsProviderAttribute Constructor (String)

Note: This constructor is new in the .NET Framework version 2.0.

Initializes an instance of the SettingsProviderAttribute class.

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

public SettingsProviderAttribute (
	string providerTypeName
public SettingsProviderAttribute (
	String providerTypeName
public function SettingsProviderAttribute (
	providerTypeName : String



A String containing the name of the settings provider.

The type name is the name of the class, derived from SettingsProvider, that is being specified as the settings provider.

Caution noteCaution

Using custom settings providers from arbitrary third parties is inherently unsafe because these providers have full read/write access to your application's configuration information. A settings provider should be thoroughly vetted before it is adopted for general use.

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0