Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: SettingsAttribute(string, SettingsKind, SettingsSerializer)

Declaration

public SettingsAttribute(
    string appName,
    SettingsKind kind,
    SettingsSerializer serializer = SettingsSerializer.ClassifyXml
)

Summary

Creates an instance of this attribute.

Parameters

stringappName The name of the settings file is formed from this appName according to certain rules. This should be a string equal to the name of the application. Paths and extensions should be omitted. It is important to specify the same name for settings of different kind, because this allows their portability to be controlled with the same {name}.IsPortable.txt file.
SettingsKindkind Specifies what the settings in this settings class are logically "attached" to.
SettingsSerializerserializer Specifies which serializer to use.