SettingsProviderAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| SettingsProviderAttribute(String) |
初始化类的 SettingsProviderAttribute 实例。 |
| SettingsProviderAttribute(Type) |
初始化 SettingsProviderAttribute 类的新实例。 |
SettingsProviderAttribute(String)
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
初始化类的 SettingsProviderAttribute 实例。
public:
SettingsProviderAttribute(System::String ^ providerTypeName);
public SettingsProviderAttribute(string providerTypeName);
new System.Configuration.SettingsProviderAttribute : string -> System.Configuration.SettingsProviderAttribute
Public Sub New (providerTypeName As String)
参数
注解
类型名称是作为设置提供程序指定的类的名称(派生自 SettingsProvider)。
Caution
从任意第三方使用自定义设置提供程序本质上不安全,因为这些提供程序对应用程序的配置信息具有完全读/写访问权限。 在一般使用之前,应对设置提供程序进行彻底审查。
另请参阅
适用于
SettingsProviderAttribute(Type)
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
- Source:
- SettingsProviderAttribute.cs
初始化 SettingsProviderAttribute 类的新实例。
public:
SettingsProviderAttribute(Type ^ providerType);
public SettingsProviderAttribute(Type providerType);
new System.Configuration.SettingsProviderAttribute : Type -> System.Configuration.SettingsProviderAttribute
Public Sub New (providerType As Type)