This documentation is archived and is not being maintained.


Call this method to return the number of elements.

ULONG GetCount( ) const throw( );

Returns the number of elements.

If the associated CComSafeArray object represents a multidimensional array, this method will only return the total number of elements in the rightmost dimension. Use CComSafeArray::GetCount to obtain the total number of elements.