XLL+ Class Library (6.3)

ple::clr::objectToXl

Transform a value of indeterminate type, received from .NET, to an Excel return value

CXlOper objectToXl(
   System::Object^ src
);

Parameters

src

A CLR type.

Return Value

A CXlOper value, populated with the transformed values.

Remarks

This function transforms CLR values or arrays of indeterminate type to an Excel value type. The following types are directly supported, as scalars, and as 1- or 2-dimensional arrays:

All other types are converted to strings, using the ToString() method.

Requirements

Header: xlpclrconvert.h

See Also

Common Language Runtime support functions | toXl