-
Notifications
You must be signed in to change notification settings - Fork 113
Shop List object class
Hotride edited this page Dec 8, 2019
·
2 revisions
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
Result: The name of the shop list.
- ShopListItemObjectList shopList.Items();
Result: A list of store items, objects of type ShopListItemObject.
Change the name of the store list to value.
- void shopList.SetItems(shopListItemObjectList);
Change the list of store items to shopListItemObjectList.