SettingsProperty Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe SettingsProperty.
Surcharges
| Nom | Description |
|---|---|
| SettingsProperty(SettingsProperty) |
Initialise une nouvelle instance de la SettingsProperty classe, en fonction du paramètre fourni. |
| SettingsProperty(String) |
Initialise une nouvelle instance de la classe SettingsProperty. en fonction du paramètre fourni. |
| SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) |
Crée une instance de la SettingsProperty classe en fonction des paramètres fournis. |
SettingsProperty(SettingsProperty)
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
Initialise une nouvelle instance de la SettingsProperty classe, en fonction du paramètre fourni.
public:
SettingsProperty(System::Configuration::SettingsProperty ^ propertyToCopy);
public SettingsProperty(System.Configuration.SettingsProperty propertyToCopy);
new System.Configuration.SettingsProperty : System.Configuration.SettingsProperty -> System.Configuration.SettingsProperty
Public Sub New (propertyToCopy As SettingsProperty)
Paramètres
- propertyToCopy
- SettingsProperty
Spécifie une copie d’un objet existant SettingsProperty .
S’applique à
SettingsProperty(String)
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
Initialise une nouvelle instance de la classe SettingsProperty. en fonction du paramètre fourni.
public:
SettingsProperty(System::String ^ name);
public SettingsProperty(string name);
new System.Configuration.SettingsProperty : string -> System.Configuration.SettingsProperty
Public Sub New (name As String)
Paramètres
- name
- String
Spécifie le nom d’un objet existant SettingsProperty .
S’applique à
SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean)
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
- Source:
- SettingsProperty.cs
Crée une instance de la SettingsProperty classe en fonction des paramètres fournis.
public:
SettingsProperty(System::String ^ name, Type ^ propertyType, System::Configuration::SettingsProvider ^ provider, bool isReadOnly, System::Object ^ defaultValue, System::Configuration::SettingsSerializeAs serializeAs, System::Configuration::SettingsAttributeDictionary ^ attributes, bool throwOnErrorDeserializing, bool throwOnErrorSerializing);
public SettingsProperty(string name, Type propertyType, System.Configuration.SettingsProvider provider, bool isReadOnly, object defaultValue, System.Configuration.SettingsSerializeAs serializeAs, System.Configuration.SettingsAttributeDictionary attributes, bool throwOnErrorDeserializing, bool throwOnErrorSerializing);
new System.Configuration.SettingsProperty : string * Type * System.Configuration.SettingsProvider * bool * obj * System.Configuration.SettingsSerializeAs * System.Configuration.SettingsAttributeDictionary * bool * bool -> System.Configuration.SettingsProperty
Public Sub New (name As String, propertyType As Type, provider As SettingsProvider, isReadOnly As Boolean, defaultValue As Object, serializeAs As SettingsSerializeAs, attributes As SettingsAttributeDictionary, throwOnErrorDeserializing As Boolean, throwOnErrorSerializing As Boolean)
Paramètres
- name
- String
Nom de l’objet SettingsProperty .
- propertyType
- Type
Type d’objet SettingsProperty .
- provider
- SettingsProvider
Objet SettingsProvider à utiliser pour la persistance.
- isReadOnly
- Boolean
Valeur Boolean spécifiant si l’objet SettingsProperty est en lecture seule.
- defaultValue
- Object
Valeur par défaut de l’objet SettingsProperty .
- serializeAs
- SettingsSerializeAs
Objet SettingsSerializeAs. Cet objet est une énumération utilisée pour définir le schéma de sérialisation pour le stockage des paramètres d’application.
- attributes
- SettingsAttributeDictionary
Objet SettingsAttributeDictionary.
- throwOnErrorDeserializing
- Boolean
Valeur booléenne spécifiant si une erreur sera levée lorsque la propriété n’est pas désérialisée.
- throwOnErrorSerializing
- Boolean
Valeur booléenne spécifiant si une erreur sera levée lorsque la propriété n’est pas sérialisée.