Class NSTask
Type of an appointment.
Syntax
Constructors
NSTask()
Initializes a new instance of the NSTask class.
Introduced or updated in version: 7
Declaration
NSTask
Methods
GetId()
Gets the primary key (ID) for the Task
Introduced or updated in version: 7
Declaration
Integer GetId()
Returns
Type | Description |
---|---|
Integer |
Examples
NSTask thing;
Integer id = thing.GetId();
GetTooltip()
Gets the tooltip description for the Task list item.
Introduced or updated in version: 7
Declaration
String GetTooltip()
Returns
Type | Description |
---|---|
String |
Examples
NSTask thing;
String descr = thing.GetTooltip();
GetValue()
Gets the name of the Task.
Introduced or updated in version: 7
Declaration
String GetValue()
Returns
Type | Description |
---|---|
String |
Examples
NSTask thing;
String name = thing.GetValue();
SetId(Integer)
Sets the primary key (ID) for the Task
Introduced or updated in version: 7
Declaration
Void SetId(Integer id)
Parameters
Type | Name | Description |
---|---|---|
Integer | id |
Returns
Type | Description |
---|---|
Void |
Examples
NSTask thing;
thing.SetId(123);
SetTooltip(String)
Sets the tooltip description for the Task list item.
Introduced or updated in version: 7
Declaration
Void SetTooltip(String tooltip)
Parameters
Type | Name | Description |
---|---|---|
String | tooltip |
Returns
Type | Description |
---|---|
Void |
Examples
NSTask thing;
String descr = "something new";
thing.SetTooltip(descr);
SetValue(String)
Sets the name of the Task item.
Introduced or updated in version: 7
Declaration
Void SetValue(String value)
Parameters
Type | Name | Description |
---|---|---|
String | value |
Returns
Type | Description |
---|---|
Void |
Examples
NSTask thing;
thing.SetValue("frotz");