SettingsProviderAttribute Constructor (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes an instance of the SettingsProviderAttribute class.

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

Public Sub New (
	providerTypeName As String
)

Parameters

providerTypeName
Type: System.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.

System_CAPS_cautionCaution

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.

.NET Framework
Available since 2.0
Return to top
Show: