Partager via


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

Reference

CComSafeArray Class

CComSafeArray::MultiDimGetAt

CComSafeArray::SetAt

Other Resources

CComSafeArray Members