Skip to main content

TcxPropertiesStoreComponent.RestoreFromIniFile(string) Method

Restores the current component’s properties from an INI file.

Declaration

procedure RestoreFromIniFile(const AStorageName: string);

Parameters

Name Type
AStorageName string

Remarks

Use this method to restore the properties of the component specified by the Component property from an INI file. The properties to restore are specified by the Properties list.

You can call the RestoreFromIniFile method even if the StorageType of the current TcxPropertiesStore instance is not set to stIniFile.

The AStorageName parameter specifies the path and the name of the INI file used as a storage. If such a file does not exist, the RestoreFromIniFile method does nothing.

See Also