Dela via


CComSafeArrayBound::GetCount

Call this method to return the number of elements.

ULONG GetCount( ) const throw( );

Return Value

Returns the number of elements.

Remarks

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.

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArrayBound Class

CComSafeArray::GetCount

Other Resources

CComSafeArrayBound Members