XLL+ Class Library

CXlOper::GetRefItem

Returns a reference to one of the single references in a multiple reference

[C++]
CXlRef& GetRefItem(
   WORD wItem
);
const CXlRef& GetRefItem(
   WORD wItem
) const;

Parameters

wItem

The index of the range to retrieve. The first item is at position 0.

Return value

Returns a reference to one of the single ranges in a multiple reference. If the CXlOper contains a single reference, and wItem is 0, then the function will return the single reference itself.

Remarks

The function will assert if the object does not contain a single or multiple reference, or if wItem is out of range.

Examples

CXlOper::GetCaller() Example | MyAddress Example

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::GetRefCount() | CXlOper::GetXLREFItem()