TagsDBGetNextClassMember
- Last UpdatedOct 29, 2026
- 2 minute read
TagsDBGetNextClassMember is a built-in function that returns the name of the next member in a specified class, after the TagsDBGetFirstClassMember function has been called to get the first member. This function acts like an array pointer, with the class being the array and the class members being the array elements, and it can be used to process the class members one at a time.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
TagsDBGetNextClassMember |
Tags Database |
Synchronous |
Yes |
Supported (see Notes below) |
Not supported |
Not supported |
Not supported |
Not supported |
Syntax
TagsDBGetNextClassMember()
TagsDBGetNextClassMember ( )
This function has no parameters. You must include the empty parentheses, however, or else the function name might be interpreted as a tag name.
Returned value
If this function is executed successfully, it returns the name of the next class member. Otherwise, it returns one of the following possible values:
|
Value |
Description |
|---|---|
|
-2 |
Invalid number of parameters. |
|
-3 |
Wrong parameter type or inconsistent value. |
|
-4 |
The specified class does not exist in the tags database. |
|
-5 |
No members found; at end of class. |
Notes
This function can only be executed on the project server — it cannot be called by a Graphics Script, Screen Script, or Command animation running on a project client.
Also, this function may be called at any time; the function TagsDBBeginEdit does not need to have been executed previously. If that is the case, however, then TagsDBGetFirstClassMember and TagsDBGetNextClassMember can only generate a list of classes. They cannot be used, along with with the other Tags Database functions, to edit the classes.
For more information about the Tags Database functions and examples of how to use them, see Using TagsDB functions to edit the tags database during run time.