KDCalc Class Library

IComInterop.LoadState Method (String)

Load the state from an XML doc into the currently instantiated CalcEngine.

void LoadState(
   string xmlState
);

Parameters

xmlState
string XML which is representative of the state.

Remarks

LoadState could be used in conjunction with a database which stored the KDCalcEngine's state for a specified user. In addition, the state could be saved off with GetState and encrypted in memory before saving to a file. Then the state file could be re-loaded, decrypted to an in-memory string and the KDCalcEngine's state restored.

See Also

IComInterop Interface | KnowledgeDynamics.KDCalc Namespace | IComInterop.LoadState Overload List