ERPConnect.BW.HierarchyLevelCollection
Namespace: ERPConnect.BW
Assembly: ERPConnectStandard20.dll
This collecton class represents a set of hierarchy objects
Inheritance
object ← CollectionBase ← HierarchyLevelCollection
Implements
IList, ICollection, IEnumerable
Inherited Members
CollectionBase.Clear(), CollectionBase.RemoveAt(int), CollectionBase.GetEnumerator(), CollectionBase.OnSet(int, object, object), CollectionBase.OnInsert(int, object), CollectionBase.OnClear(), CollectionBase.OnRemove(int, object), CollectionBase.OnValidate(object), CollectionBase.OnSetComplete(int, object, object), CollectionBase.OnInsertComplete(int, object), CollectionBase.OnClearComplete(), CollectionBase.OnRemoveComplete(int, object), CollectionBase.InnerList, CollectionBase.List, CollectionBase.Capacity, CollectionBase.Count, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
HierarchyLevelCollection()
Constructs a new HierarchyCollection object
Properties
this[int]
Returns an hierarchy object of a given position
Property Value
this[string]
Returns a HierarchyLevel object by its name
Property Value
Methods
Add(HierarchyLevel)
Adds an existing Hierarchy object to the collection
Parameters
NewParameter
HierarchyLevel
The Hierarchy object to be added
Add(Hierarchy, string, string, string)
Adds a new Hierarchy Level object to the collection
public virtual HierarchyLevel Add(Hierarchy Hierarchy, string Name, string UniqueName, string Caption)
Parameters
Hierarchy
Hierarchy
Reference to a Hierarchy Level object
Name
string
Name of the hierarchy
UniqueName
string
Unique name of the hierarchy
Caption
string
A brief description text
Returns
The hierarchy object that was created and added to the collection
Insert(int, HierarchyLevel)
Inserts an existing HierarchyLevel object to the collection
Parameters
Index
int
Oridnal number of the position
NewParameter
HierarchyLevel
The Hierarchy object to be added
TryGetValue(string, out HierarchyLevel)
Parameters
uniqueName
string
value
HierarchyLevel