Redigera

Dela via


SettingsProviderAttribute Constructors

Definition

Overloads

SettingsProviderAttribute(String)

Initializes an instance of the SettingsProviderAttribute class.

SettingsProviderAttribute(Type)

Initializes a new instance of the SettingsProviderAttribute class.

SettingsProviderAttribute(String)

Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs

Initializes an instance of the SettingsProviderAttribute class.

public:
 SettingsProviderAttribute(System::String ^ providerTypeName);
public SettingsProviderAttribute (string providerTypeName);
new System.Configuration.SettingsProviderAttribute : string -> System.Configuration.SettingsProviderAttribute
Public Sub New (providerTypeName As String)

Parameters

providerTypeName
String

A String containing the name of the settings provider.

Remarks

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

Caution

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.

See also

Applies to

SettingsProviderAttribute(Type)

Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs
Source:
SettingsProviderAttribute.cs

Initializes a new instance of the SettingsProviderAttribute class.

public:
 SettingsProviderAttribute(Type ^ providerType);
public SettingsProviderAttribute (Type providerType);
new System.Configuration.SettingsProviderAttribute : Type -> System.Configuration.SettingsProviderAttribute
Public Sub New (providerType As Type)

Parameters

providerType
Type

A Type containing the settings provider type.

Applies to