IDatabaseTreeItem.Code Property

Gets or sets a code of this family.
Property Code() As String
This language is not supported or no code example is available.
string Code {get; set;}
This language is not supported or no code example is available.

Property Value

string

A code of this family.

Remarks
 

The code specifies which families are sub-nodes of this parent family and which articles and sets belong to this family.

A family belongs to a parent family, if its code starts with the code of the parent family.

Similarly, an article or a set belongs to a family, if a value of its key field (Reference, Family, User field or Manufacturer)  starts with the code of the family.

For example, the node 241 is a sub-node of the node whose code is 24.

Note, when you change the value of this property, the tree structure will be automatically rebuilt - the IDatabaseTree.Items property of the tree and ParentItem and SubItems properties of the affected items will be updated.

Version
 
Available since QDV 7.14.501.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition