Creates a CComSafeArray.
HRESULT Create( const SAFEARRAYBOUND * pBound, UINT uDims = 1 ); HRESULT Create( ULONG ulCount = 0, LONG lLBound = 0 );
A CComSafeArray object can be created from an existing SAFEARRAYBOUND structure and the number of dimensions, or by specifying the number of elements in the array and the lower bound. If the array is to be accessed from Visual C++, the lower bound should be 0. Other languages may allow other values for the lower bound (for example, Visual Basic supports arrays with elements with a range such as -10 to 10).