Returns a reference to an item in a one-dimensional array
[C++]
COper& VectorCell(
USHORT usItem,
BOOL bArrayOnly = FALSE
);
const COper& 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 COper does not contain an array; if bArrayOnly is FALSE, then the function returns the COper itself for a non-array COper, 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
COper Class
| COper Methods
| COper::GetVectorCount()
| COper::IsVector()