XLL+ Class Library (6.3)

CXlOper::GetRefCount

Returns the number of references in a multiple reference

WORD GetRefCount( ) const;

Return Value

Returns the number of references in a single or multiple reference. If the CXlOper contains a single reference the function will return 1.

Remarks

For a CXlOper that contains a reference (either single or multiple) this function returns number of references.

The function throws an exception of type CXlBadOperTypeException if the object does not contain a single or multiple reference.

Example

MyAddress Example

Requirements

Header: xllplus.h

See Also

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