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)

参数

providerTypeName
String

一个 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)

参数

providerType
Type

包含设置提供程序类型的值 Type

适用于