Count any object from the space, visible under the specified transaction.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ | J# |
int Count( ITransaction tx )
Function Count ( _ tx As ITransaction _ ) As Integer
int Count( ITransaction^ tx )
int Count( ITransaction tx )
![](../icons/collapse_all.gif)
- tx (ITransaction)
- The transaction (if any) under which to work.
![](../icons/collapse_all.gif)
Number of matching entries.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
UnusableEntryException | A serialized field of the object being read cannot be deserialized. |
TransactionException | Transaction error occured. |
InactiveSpaceException | The space is in backup mode and therefore is not active. |