XLL+ Class Library (6.3)

CHandleFormatter<T>::ReadState

Reads a state number from text.

bool ReadState(
   const std::tstring& strState,
   long& lState
);

Parameters

strState

A string, which should contain a state number in decimal integer text format.

lState

The state number will be placed in lState if the conversion is successful.

Return Value

Returns true if the conversion succeeded, or false if the state string could not be successfully parsed.

Requirements

Header: rtdhandles.h

See Also

CHandleFormatter<T> Class | CHandleFormatter<T> Methods | CHandleFormatter_WriteState