TagsDBGetClassMemberCount
- Last UpdatedOct 29, 2026
- 1 minute read
This function gets a count of the members in a specified class.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
TagsDBGetClassMemberCount |
Tags Database |
Synchronous |
Yes |
Supported (see Notes below) |
Not supported |
Not supported |
Not supported |
Not supported |
Syntax
TagsDBGetClassMemberCount( strClassName )
TagsDBGetClassMemberCount ( strClassName )
strClassName
The name of the class in which to count members.
Returned value
If this function is executed successfully, then it returns the requested count of class members. Otherwise, it returns one of the following possible values:
|
Value |
Description |
|---|---|
|
-4 |
The specified class does not exist. |
|
-3 |
Wrong parameter type or inconsistent value. |
|
-2 |
Invalid number of parameters. |
Notes
This function can be executed only on the project runtime server — it cannot be called by a Graphics Script, Screen Script, or Command animation running on a thin client.
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.