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
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
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
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應