COM object EvSpeciesCollection

EvApplication > EvFileCollection > EvFile > EvFileProperties > EvSpeciesCollection

 

View the COM map and the COM summary.

The EvSpeciesCollection object accesses information about the set of species under the  Species section of the Classes page of the EV File Properties dialog box. A species is an item of the EvSpeciesCollection and can be accessed via the EvFileProperties.Species property.

EvSpeciesCollection methods and properties:

Add
Count
Delete

FindByName
Item

 

Description

Add

Add (string Name)

Summary

Add the named species to the EvSpeciesCollection.

Parameters
  • Name
  • The name of the species to add.

Count

(read-only) integer Count

Summary

Get the number of species in the EvSpeciesCollection.

Delete

boolean Delete (EvSpecies Species);

Summary

Remove the species specified by the EvSpecies object.

Parameters
  • Species
  • The species to remove.

FindByName

FindByName (string Name)

Summary

Find the specified species item in the EvSpeciesCollection.

Parameters
  • Path
  • The name of the species.

Item

(read-only) Item[]

Summary

Gives access to a specific species by index. Indexes are zero-based, so valid indexes are from 0 to Count-1. The result is a EvSpecies object.

Item is the default property for this interface. The examples on the EvFileCollection page show several ways to use the Item property.

See also

Scripting with COM objects
COM object hierarchy
EvFileProperties object