Structure
Collection elements:
Iteration through collection using For each ... In ... Do operator is available to object. Collection items are retrieved during iteration.
Properties:
Methods:
Count
Delete
Insert
Property
Constructors:
Based on keys and values
Description:
Structure values can be addressed as an object property. The key is used as a property name.
The structure is normally used to store a limited number of named values.
Availability:
Exchange with server is possible. Serializable. The given object may be serialized to/from XDTO. The XDTO type correspoding to this object is defined in {http://v8.1c.ru/8.1/data/core} namespace. XDTO type name: Structure.
Example:
History = New Array; Record = New Structure; Record.Insert("Settings", ReportsBuilder.GetSettings()); Record.Insert("Report", CurrentRow); History.Add(Record); |
See also:
KeyAndValue