Sets the runtime class. The method CSettingsStoreSP::Create uses the runtime class to determine what type of object to create.
- [in] pRTI
A pointer to the runtime class information for a class derived from the CSettingsStore Class.
TRUE if successful; FALSE if the class identified by pRTI is not derived from CSettingsStore.
You can use the CSettingsStoreSP Class to derive classes from CSettingsStore. Use the method SetRuntimeClass if you want to create objects of a custom class that is derived from CSettingsStore.