Returns a reference to an item in a one-dimensional array
[C++]
CXlOper& VectorCell(
USHORT usItem,
BOOL bArrayOnly = FALSE
);
const CXlOper& VectorCell(
USHORT usItem,
BOOL bArrayOnly = FALSE
) const;
The row or column containing the item of interest (the top row and the leftmost column are 0).
If the bArrayOnly parameter is TRUE, then the function asserts if the CXlOper does not contain an array; if bArrayOnly is FALSE, then the function returns the CXlOper itself for a non-array CXlOper, so long as usItem = 0.
This function returns a reference to an item contained in a one-dimensional array.
If usItem is out of range, then the function asserts.
The function should only be used for arrays containing one row or one column. The reference returned by this function can be used to read the item or to update it.
Header: xllplus.h
CXlOper Class
| CXlOper Methods
| CXlOper::GetVectorCount()
| CXlOper::IsVector()