Declaration¶
Source position: classesh.inc line 1574
type
IStreamPersist = interface
['{B8CD12A3-267A-11D4-83DA-00C04F60B2DD}']
procedure LoadFromStream;
procedure SaveToStream;
end;
Inheritance¶
Description¶
IStreamPersist defines an interface for object persistence streaming to a stream. Any class implementing this interface is expected to be able to save or load it's state from or to a stream.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| LoadFromStream | default | Load persistent data from stream. |
| SaveToStream | default | Save persistent data to stream. |
See also¶
| Name | Description |
|---|---|
| TPersistent | Base class for streaming system and persistent properties. |
| TComponent | Base class for all components that need owner-owned functionality. |
| TStream | Base class for streams. |