API 文件集 > Family table > Object ProFamtable > Function ProFamtableItemVisit
Function ProFamtableItemVisit
Description
Visits all the items in a family table.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFamtable.h>
ProFamtableItemVisit
(
ProFamtable* p_famtab
/* (In)
The handle to the family table.
*/
/* (In)
The action to perform on each item. If it returns anything other than PRO_TK_NO_ERROR, visiting stops.
*/
ProFamtableItemFilter filter_action
/* (In)
The filter function. If NULL, all items are visited using the action function.
*/
ProAppData app_data
/* (In)
The application data passed to the visiting and filter functions.
*/
)
Returns
The function successfully visited all the items.
One or more inputs was invalid.
Other
Any other value is the value returned by the action function (visiting stopped).
Sample Code References
User Guide References
這是否有幫助?