Partager via


CComSafeArrayBound::CComSafeArrayBound

The constructor.

CComSafeArrayBound(
   ULONG ulCount = 0,
   LONG lLowerBound = 0 
) throw( );

Parameters

  • ulCount
    The number of elements in the array.

  • lLowerBound
    The lower bound from which the array is numbered.

Remarks

If the array is to be accessed from a Visual C++ program, it is recommended that the lower bound be defined as 0. It may be preferable to use a different lower bound value if the array is to be used with other languages, such as Visual Basic.

Requirements

Header: atlsafe.h

See Also

Reference

CComSafeArrayBound Class

Other Resources

CComSafeArrayBound Members