ValueTreeColumnCollection.Find
Syntax:
Parameters:
<ColumnDescription> (required)
Description of the value tree column.
Returned value:
If there is no such column, then the value Undefined is returned.
Description:
Availability:
Example:
// PageTree (value tree) contains collection of report pages For each CurColumn In UserSets.Columns Do If PagesTree.Columns.Find(CurColumn.Name) = Undefined Then // Delete lacking column IndexOf = UserSets.Columns.IndexOf(CurColumn); UserSets.Columns.Delete(IndexOf); EndIf; EndDo; |