XLL+ Class Library (7.0)

CXlValueListWriter::CreateEnumValueList

Sets the constraint's list of values

static std::wstring CreateEnumValueList(
   size_t cEntries,
   wchar_t chFieldSep,
   wchar_t chLineSep,
    ...
);

Parameters

cEntries

The number of entries in the value list.

chFieldSep

The character to be used as a field separator. This is inserted between each value and its name.

chLineSep

The character to be used as a line separator. This is inserted between each value pair.

...

The remaining arguments should contain value/name pairs. There should be (cEntries * 2) arguments. Each value argument must be of type int; each name argument must be of type const wchar_t*.

Requirements

Header: xlvaluelistconstraint.h

See Also

CXlValueListWriter Class | CXlValueListWriter Methods