Retrieves/sets a single range reference from a CXlOper
[C++]
CXlRef& ToSRef(
BOOL bStrict = FALSE
);
const CXlRef& ToSRef(
BOOL bStrict = FALSE
) const;
If bStrict is FALSE (the default) then, if the CXlOper does not contain a single or multiple reference, the function will safely return the range "A1:A1". If the CXlOper contains a multiple range, then the function will return a copy of the first reference.
If bStrict is TRUE then the function will assert unless the CXlOper contains a single reference.
This function returns the range reference contained in a CXlOper,
or the first such reference if there are many.
Header: xllplus.h
CXlOper Class
| CXlOper Methods
| CXlOper::GetRef()
| CXlOper::GetRefItem()