SettingsProviderAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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)