Show / Hide Table of Contents

Class NSLocalizedText

Syntax

Constructors

NSLocalizedText()

Initializes a new instance of the NSLocalizedText class.

Declaration
NSLocalizedText

Methods

GetIsBuiltIn()

Declaration
Bool GetIsBuiltIn()
Returns
Type Description
Bool

1 = this row is populated and maintained by SuperOffice.

Examples
NSLocalizedText thing;
Bool isBuiltIn = thing.GetIsBuiltIn();

GetLanguageId()

Declaration
Integer GetLanguageId()
Returns
Type Description
Integer

Language ID as LCID value.

Examples
NSLocalizedText thing;
Integer languageId = thing.GetLanguageId();

GetLocalizedTextId()

Declaration
Integer GetLocalizedTextId()
Returns
Type Description
Integer

Primary key.

Examples
NSLocalizedText thing;
Integer localizedTextId = thing.GetLocalizedTextId();

GetResourceId()

Declaration
Integer GetResourceId()
Returns
Type Description
Integer

Resource Id.

Examples
NSLocalizedText thing;
Integer resourceId = thing.GetResourceId();

GetText()

Declaration
String GetText()
Returns
Type Description
String

The text string itself.

Examples
NSLocalizedText thing;
String text = thing.GetText();

GetType()

Declaration
Integer GetType()
Returns
Type Description
Integer

The type of the text string, such as Field label, Udef label. See LocalizedTextType

Examples
NSLocalizedText thing;
Integer type = thing.GetType();

SetIsBuiltIn(Bool)

Declaration
Void SetIsBuiltIn(Bool isBuiltIn)
Parameters
Type Name Description
Bool isBuiltIn

1 = this row is populated and maintained by SuperOffice.

Returns
Type Description
Void
Examples
NSLocalizedText thing;
Bool isBuiltIn;
thing.SetIsBuiltIn(isBuiltIn);

SetLanguageId(Integer)

Declaration
Void SetLanguageId(Integer languageId)
Parameters
Type Name Description
Integer languageId

Language ID as LCID value.

Returns
Type Description
Void
Examples
NSLocalizedText thing;
Integer languageId;
thing.SetLanguageId(languageId);

SetLocalizedTextId(Integer)

Declaration
Void SetLocalizedTextId(Integer localizedTextId)
Parameters
Type Name Description
Integer localizedTextId

Primary key.

Returns
Type Description
Void
Examples
NSLocalizedText thing;
Integer localizedTextId;
thing.SetLocalizedTextId(localizedTextId);

SetResourceId(Integer)

Declaration
Void SetResourceId(Integer resourceId)
Parameters
Type Name Description
Integer resourceId

Resource Id.

Returns
Type Description
Void
Examples
NSLocalizedText thing;
Integer resourceId;
thing.SetResourceId(resourceId);

SetText(String)

Declaration
Void SetText(String text)
Parameters
Type Name Description
String text

The text string itself.

Returns
Type Description
Void
Examples
NSLocalizedText thing;
String text;
thing.SetText(text);

SetType(Integer)

Declaration
Void SetType(Integer type)
Parameters
Type Name Description
Integer type

The type of the text string, such as Field label, Udef label. See LocalizedTextType.

Returns
Type Description
Void
Examples
NSLocalizedText thing;
Integer type;
thing.SetType(type);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top