Class NSPosition
Carrier object for Position.
Syntax
Constructors
NSPosition()
Initializes a new instance of the NSPosition class.
Declaration
NSPosition
Methods
GetId()
Gets the primary key (ID) for the NSPosition
Declaration
Integer GetId()
Returns
Type | Description |
---|---|
Integer | NSPosition Id. |
Examples
NSPosition thing;
Integer id = thing.GetId();
GetTooltip()
Gets the tooltip description for the NSPosition list item.
Declaration
String GetTooltip()
Returns
Type | Description |
---|---|
String | NSPosition tooltip description. |
Examples
NSPosition thing;
String descr = thing.GetTooltip();
GetValue()
Gets the name of the NSPosition.
Declaration
String GetValue()
Returns
Type | Description |
---|---|
String | NSPosition name. |
Examples
NSPosition thing;
String name = thing.GetValue();
SetId(Integer)
Sets the primary key (ID) for the NSPosition
Declaration
Void SetId(Integer id)
Parameters
Type | Name | Description |
---|---|---|
Integer | id |
Returns
Type | Description |
---|---|
Void |
Examples
NSPosition thing;
thing.SetId(123);
SetTooltip(String)
Sets the tooltip description for the NSPosition list item.
Declaration
Void SetTooltip(String tooltip)
Parameters
Type | Name | Description |
---|---|---|
String | tooltip |
Returns
Type | Description |
---|---|
Void |
Examples
NSPosition thing;
String descr = "something new";
thing.SetTooltip(descr);
SetValue(String)
Sets the name of the NSPosition item.
Declaration
Void SetValue(String value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
Void |
Examples
NSPosition thing;
thing.SetValue("frotz");