CComSafeArrayBound::operator =

设置 CComSafeArrayBound 为新值。

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

参数

  • bound
    CComSafeArrayBound 对象。

  • ulCount
    元素的数目。

返回值

返回指向 CComSafeArrayBound 对象。

备注

使用现有 CComSafeArrayBoundCComSafeArrayBound 对象可以分配,或者通过提供元素的数量,默认情况下,在下限设置为0。

要求

Header: atlsafe.h

请参见

参考

CComSafeArrayBound Class