【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.3.2 Collection::Count
Contents
Description
Returns the count of all the objects in the collection.
Syntax
int Count( )
Parameters
Return
the count of objects
Examples
EX1
// The function display the total number of pages in the project. void run_Collection_Count() { // Default constructor creates an unattached Collection object: Collection<PageBase> pgColl; // Attach to the collection of all the pages in the project: pgColl = Project.Pages; // Get the total count: printf("Total count of objects is %d.\n", pgColl.Count()); }
Remark
See Also
Header to Include
origin.h