TypeDescription
Properties:
DateQualifiers
NumberQualifiers
StringQualifiers
Methods:
ContainsType
Types
Constructors:
Based on types and qualifiers
Description:
Availability:
Serializable. The given object may be serialized to/from XML. Can be used in attributes of managed form. 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: TypeDescription.
Example:
// Create type description for a value table QN = New NumberQualifiers(12,2); QS = New StringQualifiers(20); Array = New Array; Array.Add(Type("Line")); TypeDescriptionS = New TypeDescription(Array, , QS); Array.Clear(); Array.Add(Type("Number")); TypeDescriptionN = New TypeDescription(Array, , ,QN); // Create a value table ValueTable = New ValueTable; // add three columns to a value table ValueTable.Columns.Add("Department",TypeDescriptionS,"Department",20); ValueTable.Columns.Add("Employee",TypeDescriptionS, "Surname",20); ValueTable.Columns.Add("Salary",TypeDescriptionN,"Salary",10); |