XLL+ Class Library

CXlOper::GetXLREFItem

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

[C++]
XLREF GetXLREFItem(
   WORD wItem
) const;

Parameters

wItem

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

Return value

Returns a copy of 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.

Requirements

Header: xllplus.h

See Also

CXlOper Class | CXlOper Methods | CXlOper::GetRefCount() | CXlOper::GetRefItem() | CXlOper::GetRef()