Properties
count() [[As Integer]] (R)
-
Sub Procedures
Add(Item As Object, Optional Key As Object = Nothing, Optional before As Object = Nothing, Optional after As Object = Nothing)
-
FromCollection(col As Collection)
-
Remove(index As Object)
-
Functions
Item(index As Object)
-
ToCollection() As Collection
-
Description
The HuginCollection class is necessary when using the HUGIN API in Visual Basic .Net. For the .Net version, MicroSoft has created a new implementation of the Collection class, which cannot be used in the HUGIN API. This means that the user cannot use standard Collections in .Net. Instead a HuginCollection must be used. Usage:
For the functions requiring a Collection, a HuginCollection is created, and used as a standard Collection. When it is time to make the function call, the ToCollection() method is invoked. E.g., set model=myNode.newModel(myHuginCollection.ToCollection())
Likewise, it is possible to create a new HuginCollection from a returned Collection, by using the FromCollection() method.