Class NSPreferenceSpec

Preference specification, consisting of the section name and key name.

Constructors

NSPreferenceSpec()

Initializes a new instance of the NSPreferenceSpec class.

Declaration

NSPreferenceSpec

Methods

GetKey()

Declaration

String GetKey()

Examples

NSPreferenceSpec thing;
String key = thing.GetKey();

Returns

Type Description
String Preference key name.

GetSection()

Declaration

String GetSection()

Examples

NSPreferenceSpec thing;
String section = thing.GetSection();

Returns

Type Description
String Preference section name.

SetKey(String)

Declaration

Void SetKey(String key)

Examples

NSPreferenceSpec thing;
String key;
thing.SetKey(key);

Parameters

Type Name Description
String key Preference key name.

Returns

Type Description
Void

SetSection(String)

Declaration

Void SetSection(String section)

Examples

NSPreferenceSpec thing;
String section;
thing.SetSection(section);

Parameters

Type Name Description
String section Preference section name.

Returns

Type Description
Void