The data we store in each menu item object is an array containing only one element: the name of the category.
我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
You can then get or set the data for each property, whether the property holds a data item, such as a customer name, or a reference to another data object.
您可以为每个属性获取或设置数据,无论属性是否包含一个数据项,比如客户的姓名或对另一个数据对象的引用。
As with the severity enumeration described in the previous section, it would be more convenient to have the state group and state name information in the same data set as the work item information.
有了前面章节中提到过的严重性枚举,在与工作项信息相同的数据集中拥有状态组和状态名信息就更加方便了。
应用推荐