CountProperties method
Gets the number of properties in the property bag.
Syntax
HRESULT retVal = object.CountProperties(pcProperties);
Parameters
pcProperties [out]
Type: unsigned longThe address of a unsigned long that receives the number of properties in the property bag.