Share via


CComSafeArray::GetAt

 

Retrieves a single element from a single-dimensional array.

Syntax

      T& GetAt(
   LONG lIndex 
) const;

Parameters

  • lIndex
    The index number of the value in the array to return.

Return Value

Returns a reference to the required array element.

Requirements

Header: atlsafe.h

See Also

CComSafeArray Class
CComSafeArray::MultiDimGetAt
CComSafeArray::SetAt