Count any object from the space, visible under the default transaction.

C# | Visual Basic | Visual C++ | J# |
int Count()
Function Count As Integer
int Count()
int Count()

Number of matching entries.

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. |