CComSafeArray::GetAt

Retrieves a single element from a single-dimensional array.

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

Concepts

CComSafeArray Class

CComSafeArray Members

CComSafeArray::MultiDimGetAt

CComSafeArray::SetAt