COM Interface: ISchVariationItems
In eCADSTAR Schematic Editor, this class returns the variation item at the position in the collection that is specified by an index value.
Members
Functions
Function | Description |
---|---|
ISchVariationItem Item(long index) | Returns the variation items 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 increases in proportion to the size of the collection. |
ISchVariationItem Find(BSTR key) | Finds a variation item whose Name() value is equivalent to the key value. The response time increases in proportion to the size of the collection. |
void Add(BSTR name) | Adds a new variation item with the specified name. |
void Remove(BSTR name) | Removes the variation item with the specified name. The last variation item cannot be removed. |
void Insert(long position, BSTR name) | Inserts a new variation item with the specified name at the specified position. |
Properties
Property | Description |
---|---|
long Count {get} | Returns the number of variation items in the collection. The response time increases in proportion to the size of the collection. |
IEnumVARIANT _NewEnum {get} | Enables use of the built-in syntax of a COM client to iterate through an object’s collection of items. |