CatalogsManager.AllRefsType
Syntax:
Returned value:
Description:
Availability:
Example:
// Receive list of comparison types by type List = New ValueList; List.Add(ComparisonType.Equal); List.Add(ComparisonType.NotEqual); List.Add(ComparisonType.InList); List.Add(ComparisonType.NotInList); // TypesArray - array of available types For IndexOf = 0 to TypesArray.Count() - 1 Do If Catalogs.AllRefsType().ContainsType(TypesArray[IndexOf]) Then If Metadata.FindByType(TypesArray[IndexOf]).Hierarchical Then List.Add(ComparisonType.InListByHierarchy); List.Add(ComparisonType.NotInListByHierarchy); Break; EndIf; EndIf; EndDo; |