COM Interface: ISchVariants

In eCADSTAR Schematic Editor, this class returns the variant at the position in the collection that is specified by an index value.

Members

Functions

Function Description
ISchVariant Item(long index) Returns the variant at the position in the collection that is specified by the index value. This must be a valid index position, such that 1 <= i <= Count(). The response time is not dependent on the size of the collection.
ISchVariant Find(BSTR key) Finds a variant whose Name() value is equivalent to the key value. The response time increases in proportion to the size of the collection.

Properties

Property Description
long Count {get} Returns the number of variants in the collection. The response time increases in proportion to the size of the collection.
IEnumVARIANT _NewEnum {get} The iterator for the collection.