SettingsProviderAttribute 建構函式

定義

多載

名稱 Description
SettingsProviderAttribute(String)

初始化該 SettingsProviderAttribute 類別的實例。

SettingsProviderAttribute(Type)

初始化 SettingsProviderAttribute 類別的新執行個體。

SettingsProviderAttribute(String)

來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
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 A 包含設定提供者名稱。

備註

型別名稱是從 SettingsProvider衍生出的類別名稱,該類別被指定為設定提供者。

注意事項

使用第三方的自訂設定提供者本質上是不安全的,因為這些供應商擁有對你應用程式設定資訊的完整讀寫權限。 設定供應商在採用一般使用前,應經過徹底審核。

另請參閱

適用於

SettingsProviderAttribute(Type)

來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
SettingsProviderAttribute.cs
來源:
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

A Type 包含設定提供者類型。

適用於