Show / Hide Table of Contents

Class NSPreferenceSpec

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

Syntax

Constructors

NSPreferenceSpec()

Initializes a new instance of the NSPreferenceSpec class.

Declaration
NSPreferenceSpec

Methods

GetKey()

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

Declaration
String GetKey()
Returns
Type Description
String

Preference key name.

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

GetSection()

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

Declaration
String GetSection()
Returns
Type Description
String

Preference section name.

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

SetKey(String)

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

Declaration
Void SetKey(String key)
Parameters
Type Name Description
String key

Preference key name.

Returns
Type Description
Void
Examples
NSPreferenceSpec thing;
String key;
thing.SetKey(key);

SetSection(String)

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

Declaration
Void SetSection(String section)
Parameters
Type Name Description
String section

Preference section name.

Returns
Type Description
Void
Examples
NSPreferenceSpec thing;
String section;
thing.SetSection(section);
In This Article
  • Constructors
    • NSPreferenceSpec()
  • Methods
    • GetKey()
    • GetSection()
    • SetKey(String)
    • SetSection(String)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top