Methods
- Func Create( iName) As
- Create a FunctionalVariant.
- Sub Delete( iVariant)
- Delete a FunctionalVariant.
- Func Elem( iIndex) As
-
Returns a Variant using its index or its name from the Variants
collection.
- Parameters:
-
- iIndex
- The index or the name of the Variant to retrieve from the collection of Variants. As a numerics, this index is the rank of the Variant in the collection. The index of the first Variant in the collection is 1, and the index of the last Variant is Count. As a string, it is the name you assigned to the Variant using the property. dd>
- Returns:
- The retrieved Variant
- Example:
-
This example retrieves in Act1 the fifth Variant
in the collection and in Act2 the Variant
named Moves.
Dim Act1 As FunctionalVariant Set Act1 = Desc.Variant(5) Dim Act2 As FunctionalVariant Set Act2 = Desc.Variant("Adding new substance")dd>