Count
This method returns number of events in the collection
HRESULT Count([out, retval]long* pVal );
Parameter
pVal
[out, retval] long pointer to receive the value
return Values
S_OK
Function was successfully called.
Remarks
Depending on the programming language you are using, you might rather want to use the objects standard enumerator instead of its interface methods.