CComSafeArrayBound::operator =

Sets the CComSafeArrayBound to a new value.

CComSafeArrayBound & operator =(
   const CComSafeArrayBound & bound 
) throw( );
CComSafeArrayBound & operator =(
   ULONG ulCount 
) throw( );

Parameters

  • bound
    A CComSafeArrayBound object.

  • ulCount
    The number of elements.

Return Value

Returns a pointer to the CComSafeArrayBound object.

Remarks

The CComSafeArrayBound object can be assigned using an existing CComSafeArrayBound, or by supplying the number of elements, in which case the lower bound is set to 0 by default.

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArrayBound Class

Other Resources

CComSafeArrayBound Members