SettingsProperty SettingsProperty SettingsProperty SettingsProperty Constructors

Definition

Overloads

SettingsProperty(SettingsProperty) SettingsProperty(SettingsProperty) SettingsProperty(SettingsProperty) SettingsProperty(SettingsProperty)

Initializes a new instance of the SettingsProperty class, based on the supplied parameter.

SettingsProperty(String) SettingsProperty(String) SettingsProperty(String) SettingsProperty(String)

Initializes a new instance of the SettingsProperty class. based on the supplied parameter.

SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean)

Creates a new instance of the SettingsProperty class based on the supplied parameters.

SettingsProperty(SettingsProperty) SettingsProperty(SettingsProperty) SettingsProperty(SettingsProperty) SettingsProperty(SettingsProperty)

Initializes a new instance of the SettingsProperty class, based on the supplied parameter.

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)

Parameters

propertyToCopy
SettingsProperty SettingsProperty SettingsProperty SettingsProperty

Specifies a copy of an existing SettingsProperty object.

SettingsProperty(String) SettingsProperty(String) SettingsProperty(String) SettingsProperty(String)

Initializes a new instance of the SettingsProperty class. based on the supplied parameter.

public:
 SettingsProperty(System::String ^ name);
public SettingsProperty (string name);
new System.Configuration.SettingsProperty : string -> System.Configuration.SettingsProperty
Public Sub New (name As String)

Parameters

name
String String String String

Specifies the name of an existing SettingsProperty object.

SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean) SettingsProperty(String, Type, SettingsProvider, Boolean, Object, SettingsSerializeAs, SettingsAttributeDictionary, Boolean, Boolean)

Creates a new instance of the SettingsProperty class based on the supplied parameters.

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)

Parameters

name
String String String String

The name of the SettingsProperty object.

propertyType
Type Type Type Type

The type of SettingsProperty object.

isReadOnly
Boolean Boolean Boolean Boolean

A Boolean value specifying whether the SettingsProperty object is read-only.

defaultValue
Object Object Object Object

The default value of the SettingsProperty object.

serializeAs
SettingsSerializeAs SettingsSerializeAs SettingsSerializeAs SettingsSerializeAs

A SettingsSerializeAs object. This object is an enumeration used to set the serialization scheme for storing application settings.

throwOnErrorDeserializing
Boolean Boolean Boolean Boolean

A Boolean value specifying whether an error will be thrown when the property is unsuccessfully deserialized.

throwOnErrorSerializing
Boolean Boolean Boolean Boolean

A Boolean value specifying whether an error will be thrown when the property is unsuccessfully serialized.

Applies to