Class NSLocalizedText
Syntax
Constructors
NSLocalizedText()
Initializes a new instance of the NSLocalizedText class.
Introduced or updated in version: 7
Declaration
NSLocalizedText
Methods
GetIsBuiltIn()
Introduced or updated in version: 7
Declaration
Bool GetIsBuiltIn()
Returns
Type | Description |
---|---|
Bool | 1 = this row is populated and maintained by SuperOffice. |
Examples
NSLocalizedText thing;
Bool isBuiltIn = thing.GetIsBuiltIn();
GetLanguageId()
Introduced or updated in version: 7
Declaration
Integer GetLanguageId()
Returns
Type | Description |
---|---|
Integer | Language ID as LCID value. |
Examples
NSLocalizedText thing;
Integer languageId = thing.GetLanguageId();
GetLocalizedTextId()
Introduced or updated in version: 7
Declaration
Integer GetLocalizedTextId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSLocalizedText thing;
Integer localizedTextId = thing.GetLocalizedTextId();
GetResourceId()
Introduced or updated in version: 7
Declaration
Integer GetResourceId()
Returns
Type | Description |
---|---|
Resource Id. |
Examples
NSLocalizedText thing;
Integer resourceId = thing.GetResourceId();
GetText()
Introduced or updated in version: 7
Declaration
String GetText()
Returns
Type | Description |
---|---|
String | The text string itself. |
Examples
NSLocalizedText thing;
String text = thing.GetText();
GetType()
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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);