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.

Introduced or updated in version: 7

Declaration
NSPreferenceSpec

Methods

GetKey()

Introduced or updated in version: 7

Declaration
String GetKey()
Returns
Type Description
String

Preference key name.

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

GetSection()

Introduced or updated in version: 7

Declaration
String GetSection()
Returns
Type Description
String

Preference section name.

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

SetKey(String)

Introduced or updated in version: 7

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)

Introduced or updated in version: 7

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);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top